From 54f2339757ba146c8dbaac2efbf34a6a2cb09733 Mon Sep 17 00:00:00 2001 From: Edward Samson Date: Wed, 6 Nov 2013 08:00:56 +0000 Subject: [PATCH] tcptunnel 0.8 Closes Homebrew/homebrew#23977. Signed-off-by: Mike McQuaid --- Formula/tcptunnel.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Formula/tcptunnel.rb diff --git a/Formula/tcptunnel.rb b/Formula/tcptunnel.rb new file mode 100644 index 0000000000..990ecedf93 --- /dev/null +++ b/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