homebrew-core/Formula/skipfish.rb
Ali Asad Lotia 0130c1f818 Update skipfish to 1.69b.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-04 08:55:27 -07:00

31 lines
959 B
Ruby

require 'formula'
class Skipfish <Formula
url 'http://skipfish.googlecode.com/files/skipfish-1.69b.tgz'
homepage 'http://code.google.com/p/skipfish/'
md5 'ece789b885014208a760138354d972c3'
depends_on 'libidn'
def install
ENV.append "CFLAGS", "-I#{HOMEBREW_PREFIX}/include"
ENV.append "LDFLAGS", "-L#{HOMEBREW_PREFIX}/lib"
inreplace "config.h",
"#define ASSETS_DIR \"assets\"",
"#define ASSETS_DIR \"#{libexec}/assets\""
system "make"
bin.install "skipfish"
libexec.install ["dictionaries", "assets"]
end
def caveats; <<-EOS.undent
NOTE: Skipfish uses dictionary-based probes and will not run until
you have specified a dictionary for it to use.
Please read #{libexec}/dictionaries/README-FIRST
carefully to make the right choice. This step has a profound impact
on the quality of results later on.
"skipfish -h" prints out usage information.
EOS
end
end