homebrew-core/Formula/ngrep.rb

17 lines
548 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
url 'http://downloads.sourceforge.net/project/ngrep/ngrep/1.45/ngrep-1.45.tar.bz2'
homepage 'http://ngrep.sourceforge.net/'
md5 'bc8150331601f3b869549c94866b4f1c'
def install
system "./configure", "--prefix=#{prefix}",
"--disable-debug",
"--disable-dependency-tracking",
# this line required to make configure succeed
"--with-pcap-includes=/usr/include"
system "make install"
end
end