homebrew-core/Formula/silk.rb
Jack Nagel 64afeec6d4 Use new fails_with DSL syntax
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-01 12:39:59 -05:00

28 lines
717 B
Ruby

require 'formula'
class Silk < Formula
url 'http://tools.netsa.cert.org/releases/silk-2.4.0.tar.gz'
homepage 'http://tools.netsa.cert.org/silk/'
md5 '3c12579712e2f49b07e56055a209d20a'
depends_on 'pkg-config' => :build
depends_on 'glib'
depends_on 'libfixbuf'
depends_on 'yaf'
fails_with :llvm do
cause "Undefined symbols during compile"
end
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}",
"--enable-ipv6",
"--enable-data-rootdir=#{var}/silk"
system "make"
system "make install"
(var+"silk").mkpath
end
end