2010-06-11 01:10:20 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Yaf < Formula
|
2010-06-11 01:10:20 +00:00
|
|
|
homepage 'http://tools.netsa.cert.org/yaf/'
|
2012-02-10 03:13:11 +00:00
|
|
|
url 'http://tools.netsa.cert.org/releases/yaf-2.1.2.tar.gz'
|
|
|
|
md5 '77ab8927db0cb28965d70dbceb65a1f4'
|
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'
|
|
|
|
|
2012-03-18 20:33:24 +00:00
|
|
|
fails_with :llvm do
|
|
|
|
cause "Undefined symbols during compile"
|
|
|
|
end
|
2010-08-18 20:41:52 +00:00
|
|
|
|
2011-03-21 21:24:22 +00:00
|
|
|
def install
|
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
|