diff options
| author | Dominyk Tiller | 2014-12-12 20:43:00 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-12-13 13:48:13 +0000 |
| commit | 58a1494255249e0482d805e70618db8823efa156 (patch) | |
| tree | 49c474d15c96d6f8dc018846520f61d0384b53a4 /Library/Formula | |
| parent | 3f1f44b40e753b029f198fb1aee534dda99a8c38 (diff) | |
| download | homebrew-58a1494255249e0482d805e70618db8823efa156.tar.bz2 | |
ctunnel 0.7 (new formula)
Closes #33527.
Closes #34931.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/ctunnel.rb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Library/Formula/ctunnel.rb b/Library/Formula/ctunnel.rb new file mode 100644 index 000000000..8c8bb107d --- /dev/null +++ b/Library/Formula/ctunnel.rb @@ -0,0 +1,21 @@ +require "formula" + +class Ctunnel < Formula + homepage "https://github.com/alienrobotarmy/ctunnel" + url "http://alienrobotarmy.com/ctunnel/0.7/ctunnel-0.7.tar.gz" + sha1 "9d369fe3df9ba65880caacede0e9bb9e8e79021b" + + depends_on "openssl" + depends_on :tuntap => :recommended + + def install + inreplace "Makefile.cfg", "TUNTAP=yes", "TUNTAP=no" if build.without? "tuntap" + system "make" + bin.mkpath + system "make", "-B", "install", "PREFIX=#{prefix}" + end + + test do + system "#{bin}/ctunnel", "-h" + end +end |
