aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ngrep.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/ngrep.rb')
-rw-r--r--Library/Formula/ngrep.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/ngrep.rb b/Library/Formula/ngrep.rb
new file mode 100644
index 000000000..38628f4ff
--- /dev/null
+++ b/Library/Formula/ngrep.rb
@@ -0,0 +1,16 @@
+require 'formula'
+
+class Ngrep <Formula
+ 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