homebrew-core/Formula/sipp.rb
BrewTestBot 95884bae22 Formula files style updates.
Closes Homebrew/homebrew#42407.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 14:21:42 +01:00

25 lines
743 B
Ruby

class Sipp < Formula
desc "Traffic generator for the SIP protocol"
homepage "http://sipp.sourceforge.net/"
url "https://github.com/SIPp/sipp/archive/v3.4.1.tar.gz"
sha256 "bb6829a1f3af8d8b5f08ffcd7de40e2692b4dfb9a83eccec3653a51f77a82bc4"
revision 1
bottle do
cellar :any
revision 1
sha1 "850972e13e3498f4b02f0d7f8cfcf52a57e9061d" => :mavericks
sha1 "7090284509ca0e0c94ccf8ed807bee34a7c03679" => :mountain_lion
sha1 "aaf2d525f601b20aab098ca164e4161113996666" => :lion
end
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