homebrew-core/Formula/ngrep.rb
Jaime Marquínez Ferrándiz 74c83fa9f6 Batch convert http download urls from SourceForge to https
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-02 09:16:53 -08:00

16 lines
558 B
Ruby

require 'formula'
class Ngrep < Formula
homepage 'http://ngrep.sourceforge.net/'
url 'https://downloads.sourceforge.net/project/ngrep/ngrep/1.45/ngrep-1.45.tar.bz2'
sha1 'f26090a6ac607db66df99c6fa9aef74968f3330f'
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}",
# this line required to make configure succeed
"--with-pcap-includes=/usr/include"
system "make install"
end
end