2010-06-11 01:10:20 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Yaf <Formula
|
2010-11-07 18:59:07 +00:00
|
|
|
url 'http://tools.netsa.cert.org/releases/yaf-1.3.1.tar.gz'
|
2010-06-11 01:10:20 +00:00
|
|
|
homepage 'http://tools.netsa.cert.org/yaf/'
|
2010-11-07 18:59:07 +00:00
|
|
|
md5 'cf7602056d8eaa157f5a53f77d193761'
|
2010-06-11 01:10:20 +00:00
|
|
|
|
2010-11-07 18:59:07 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-06-11 01:10:20 +00:00
|
|
|
depends_on 'glib'
|
|
|
|
depends_on 'libfixbuf'
|
|
|
|
|
|
|
|
def install
|
2010-11-07 18:59:07 +00:00
|
|
|
fails_with_llvm "Undefined symbols during compile"
|
2010-08-18 20:41:52 +00:00
|
|
|
|
2010-04-07 05:58:35 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--mandir=#{man}"
|
2010-06-11 01:10:20 +00:00
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|