26 lines
828 B
Ruby
26 lines
828 B
Ruby
class Stuntman < Formula
|
|
desc "Implementation of the STUN protocol"
|
|
homepage "http://www.stunprotocol.org/"
|
|
url "http://www.stunprotocol.org/stunserver-1.2.13.tgz"
|
|
sha256 "d336be76c23b330bcdbf7d0af9e82f1f4f9866f9caffd37062c7f44d9c272661"
|
|
head "https://github.com/jselbie/stunserver.git"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
sha256 "1d16a7d994f57dbac8b7d2496ac3346f9c753f3d09ec0760b213cabaf92ab403" => :sierra
|
|
sha256 "2d3187c4be196200c5007849e56abbd2ea10f30567977feda55455897a5b6061" => :el_capitan
|
|
sha256 "4f1011c0cdd34060150d50889a0ed100ee449c5ea5621c4fee8262741b1816af" => :yosemite
|
|
end
|
|
|
|
depends_on "boost" => :build
|
|
depends_on "openssl"
|
|
|
|
def install
|
|
system "make"
|
|
bin.install "stunserver", "stunclient", "stuntestcode"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/stuntestcode"
|
|
end
|
|
end
|