require 'formula' class Silk < Formula homepage 'http://tools.netsa.cert.org/silk/' url 'http://tools.netsa.cert.org/releases/silk-2.4.7.tar.gz' sha1 '2ff0cd1d00de70f667728830aa3e920292e99aec' 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