homebrew-core/Formula/stuntman.rb

27 lines
660 B
Ruby
Raw Normal View History

2014-09-10 21:46:27 +00:00
require "formula"
class Stuntman < Formula
homepage "http://www.stunprotocol.org/"
url "http://www.stunprotocol.org/stunserver-1.2.7.tgz"
sha1 "bc315c5f81e5bf9301872d096db8a8ac74089de4"
head "https://github.com/jselbie/stunserver.git"
bottle do
cellar :any
sha1 "cba61cc3db211fd4f2b7c8e07284fdfbb4151553" => :mavericks
sha1 "bf4bc85266aaabc0247860cee0695a7fe93a0d5b" => :mountain_lion
sha1 "e3e3efbf5fa4160d17e1786c0d30ec65e51cb262" => :lion
end
2014-09-10 21:46:27 +00:00
depends_on "boost" => :build
def install
system "make"
bin.install "stunserver", "stunclient", "stuntestcode"
end
test do
system "#{bin}/stuntestcode"
end
end