homebrew-core/Formula/stuntman.rb

28 lines
827 B
Ruby
Raw Normal View History

2014-09-10 21:46:27 +00:00
class Stuntman < Formula
desc "Implementation of the STUN protocol"
2014-09-10 21:46:27 +00:00
homepage "http://www.stunprotocol.org/"
url "http://www.stunprotocol.org/stunserver-1.2.7.tgz"
sha256 "51415bf83339f059c6a65bbece9b758e3f198cb86063a0f1b4f12d825c87640e"
2014-09-10 21:46:27 +00:00
head "https://github.com/jselbie/stunserver.git"
revision 1
2014-09-10 21:46:27 +00:00
bottle do
cellar :any
2015-09-21 04:27:17 +00:00
sha256 "70c9db5d6503508bb29ea52a1bc006909abb4d03da9ad34a4d39fb42a2f5ea81" => :el_capitan
sha256 "1704bb907134f990497cec59b9e279c88104e3bd723b999ac8b64d3f9e4c6ac7" => :yosemite
sha256 "316bcef26dd5e39a141f4761c19919a249859d04992ab99d4417c23e383c5ffb" => :mavericks
end
2014-09-10 21:46:27 +00:00
depends_on "boost" => :build
depends_on "openssl"
2014-09-10 21:46:27 +00:00
def install
system "make"
bin.install "stunserver", "stunclient", "stuntestcode"
end
test do
system "#{bin}/stuntestcode"
end
end