aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAndrew Barnert2014-09-10 14:46:27 -0700
committerMike McQuaid2014-09-11 22:52:57 +0100
commit24f2e1e54ced881e9b2068434f58f18bc0e160b1 (patch)
tree9ba9c4378a39a8d1bcf7a71e00771791bd34081b /Library/Formula
parente01d41ec2e8ec59c3efd0d9613f7a9ed20762edd (diff)
downloadhomebrew-24f2e1e54ced881e9b2068434f58f18bc0e160b1.tar.bz2
stuntman 1.2.7 (new formula)
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/stuntman.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/stuntman.rb b/Library/Formula/stuntman.rb
new file mode 100644
index 000000000..dc3105f10
--- /dev/null
+++ b/Library/Formula/stuntman.rb
@@ -0,0 +1,19 @@
+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"
+
+ depends_on "boost" => :build
+
+ def install
+ system "make"
+ bin.install "stunserver", "stunclient", "stuntestcode"
+ end
+
+ test do
+ system "#{bin}/stuntestcode"
+ end
+end