homebrew-core/Formula/sipp.rb
John Dyer 9acce00083 sipp: add support for pcap and tls.
Closes Homebrew/homebrew#26708.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-02-14 18:31:42 +00:00

17 lines
452 B
Ruby

require 'formula'
class Sipp < Formula
homepage 'http://sipp.sourceforge.net/'
url "http://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