homebrew-core/Formula/silk.rb
2014-02-15 22:26:21 -06:00

24 lines
652 B
Ruby

require 'formula'
class Silk < Formula
homepage 'http://tools.netsa.cert.org/silk/'
url 'http://tools.netsa.cert.org/releases/silk-3.8.1.tar.gz'
sha1 '85787cd0bf8c7ce9b11013fff2ac3eea1ff5bd13'
depends_on 'pkg-config' => :build
depends_on 'glib'
depends_on 'libfixbuf'
depends_on 'yaf'
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