7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
18 lines
474 B
Ruby
18 lines
474 B
Ruby
require 'formula'
|
|
|
|
class Yaf <Formula
|
|
url 'http://tools.netsa.cert.org/releases/yaf-1.0.0.2.tar.gz'
|
|
homepage 'http://tools.netsa.cert.org/yaf/'
|
|
md5 '3ea2dd554025ba9978c914386dd59d9c'
|
|
|
|
depends_on 'glib'
|
|
depends_on 'libfixbuf'
|
|
|
|
def install
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--mandir=#{man}"
|
|
system "make"
|
|
system "make install"
|
|
end
|
|
end
|