aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/tcptunnel.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/tcptunnel.rb b/Library/Formula/tcptunnel.rb
new file mode 100644
index 000000000..990ecedf9
--- /dev/null
+++ b/Library/Formula/tcptunnel.rb
@@ -0,0 +1,18 @@
+require 'formula'
+
+class Tcptunnel < Formula
+ homepage 'http://www.vakuumverpackt.de/tcptunnel/'
+ url 'https://github.com/vakuum/tcptunnel/archive/v0.8.tar.gz'
+ sha1 '393e0496e89fbb362b7d40efe820456ea898c54c'
+
+ def install
+ bin.mkpath
+ system "./configure", "--prefix=#{bin}"
+ system "make"
+ system "make", "install"
+ end
+
+ test do
+ system "#{bin}/tcptunnel", "--version"
+ end
+end