homebrew-core/Formula/silk.rb

27 lines
698 B
Ruby
Raw Normal View History

require 'formula'
class Silk <Formula
2010-11-07 18:59:18 +00:00
url 'http://tools.netsa.cert.org/releases/silk-2.4.0.tar.gz'
homepage 'http://tools.netsa.cert.org/silk/'
2010-11-07 18:59:18 +00:00
md5 '3c12579712e2f49b07e56055a209d20a'
2010-11-07 18:59:18 +00:00
depends_on 'pkg-config' => :build
depends_on 'glib'
depends_on 'libfixbuf'
depends_on 'yaf'
def install
2010-11-07 18:59:18 +00:00
fails_with_llvm "Undefined symbols during compile"
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