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