homebrew-core/Formula/sipp.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

17 lines
453 B
Ruby

require 'formula'
class Sipp < Formula
homepage 'http://sipp.sourceforge.net/'
url "https://downloads.sourceforge.net/project/sipp/sipp/3.4/sipp-3.3.990.tar.gz"
sha1 "b2637cb72556595253bbdd4a68cc974c9ac1d92e"
depends_on "openssl" => :optional
def install
args = ["--with-pcap"]
args << "--with-openssl" if build.with? "openssl"
system "./configure", *args
system "make", "DESTDIR=#{prefix}"
bin.install "sipp"
end
end