homebrew-core/Formula/ngrep.rb

17 lines
557 B
Ruby
Raw Normal View History

2009-12-01 01:52:49 +00:00
require 'formula'
2011-03-10 05:11:03 +00:00
class Ngrep < Formula
2009-12-01 01:52:49 +00:00
homepage 'http://ngrep.sourceforge.net/'
2013-01-29 03:49:58 +00:00
url 'http://downloads.sourceforge.net/project/ngrep/ngrep/1.45/ngrep-1.45.tar.bz2'
sha1 'f26090a6ac607db66df99c6fa9aef74968f3330f'
2009-12-01 01:52:49 +00:00
def install
2013-01-29 03:49:58 +00:00
system "./configure", "--disable-debug",
2009-12-01 01:52:49 +00:00
"--disable-dependency-tracking",
2013-01-29 03:49:58 +00:00
"--prefix=#{prefix}",
2009-12-01 01:52:49 +00:00
# this line required to make configure succeed
"--with-pcap-includes=/usr/include"
system "make install"
end
end