aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/udptunnel.rb22
1 files changed, 22 insertions, 0 deletions
diff --git a/Library/Formula/udptunnel.rb b/Library/Formula/udptunnel.rb
new file mode 100644
index 000000000..351ac2f1c
--- /dev/null
+++ b/Library/Formula/udptunnel.rb
@@ -0,0 +1,22 @@
+require "formula"
+
+class Udptunnel < Formula
+ homepage "http://www.cs.columbia.edu/~lennox/udptunnel"
+ url "http://www.cs.columbia.edu/~lennox/udptunnel/udptunnel-1.1.tar.gz"
+ sha1 "c768097d9bca23d6be35931b010b75a451f34eb8"
+
+ depends_on "autoconf" => :build
+ depends_on "automake" => :build
+
+ def install
+ system "./configure", "--disable-debug",
+ "--disable-dependency-tracking",
+ "--disable-silent-rules",
+ "--prefix=#{prefix}"
+ system "make", "install"
+ end
+
+ test do
+ system "#{bin}/udptunnel -h; true"
+ end
+end