homebrew-core/Formula/silk.rb

25 lines
652 B
Ruby
Raw Normal View History

2014-05-21 06:45:25 +00:00
require "formula"
2011-03-10 05:11:03 +00:00
class Silk < Formula
2014-05-21 06:45:25 +00:00
homepage "http://tools.netsa.cert.org/silk/"
url "http://tools.netsa.cert.org/releases/silk-3.8.2.tar.gz"
sha1 "090972127175272c1cc82d6e419a65c8ecfbd275"
2014-05-21 06:45:25 +00:00
depends_on "pkg-config" => :build
depends_on "glib"
depends_on "libfixbuf"
depends_on "yaf"
2011-03-21 21:24:22 +00:00
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