aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ngrep.rb
blob: f2c84dc988dbd833f7efbcd9913d3076af778228 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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