blob: 858f20f8fe299e0f1a3de2ccca1ba2d1ded158bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
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
|