done

On Nov 18, 2013, at 10:38 PM, Adam Vandenberg <notifications@github.com> wrote:

> In Library/Formula/lynis.rb:
> 
> > @@ -0,0 +1,22 @@
> > +require 'formula'
> > +
> > +class Lynis < Formula
> > +  homepage 'http://www.rootkit.nl/projects/lynis.html'
> > +  url 'http://cisofy.com/files/lynis-1.3.4.tar.gz'
> > +  sha1 '2c7e6f895a5c5a9090075a537a3fafe44afc2cca'
> > +
> > +  def install
> > +    inreplace 'lynis', 'tINCLUDE_TARGETS="/usr/local/include/lynis /usr/local/lynis/include /usr/share/lynis/include ./include"', 'tINCLUDE_TARGETS="' + (prefix/'include') + '"'
> > +    inreplace 'lynis', 'tPLUGIN_TARGETS="/usr/local/lynis/plugins /usr/local/share/lynis/plugins /usr/share/lynis/plugins /etc/lynis/plugins ./plugins"', 'tPLUGIN_TARGETS="' + (prefix/'plugins') + '"'
> > +    inreplace 'lynis', 'tDB_TARGETS="/usr/local/share/lynis/db /usr/local/lynis/db /usr/share/lynis/db ./db"', 'tDB_TARGETS="' + (prefix/'db') + '"'
> > +    inreplace 'lynis', 'tPROFILE_TARGETS="/usr/local/etc/lynis/default.prf /etc/lynis/default.prf ./default.prf"', 'tPROFILE_TARGETS="' + (prefix/'default.prf') + '"'
> > +
> > +    prefix.install "db"
> install takes multiple arguments: prefix.install 'dev', 'include', ...
> 
> —
> Reply to this email directly or view it on GitHub.
>