diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/ptunnel.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Library/Formula/ptunnel.rb b/Library/Formula/ptunnel.rb index dead7ea3a..950512038 100644 --- a/Library/Formula/ptunnel.rb +++ b/Library/Formula/ptunnel.rb @@ -1,14 +1,10 @@ -require 'formula' - class Ptunnel < Formula - homepage 'http://www.cs.uit.no/~daniels/PingTunnel/' - url 'http://www.cs.uit.no/~daniels/PingTunnel/PingTunnel-0.72.tar.gz' - sha1 'd5d874ec7b4f68d2307cacc83a1c408aeb4206a5' + homepage "http://www.cs.uit.no/~daniels/PingTunnel/" + url "http://www.cs.uit.no/~daniels/PingTunnel/PingTunnel-0.72.tar.gz" + sha256 "b318f7aa7d88918b6269d054a7e26f04f97d8870f47bd49a76cb2c99c73407a4" def install - system "make" - bin.install "ptunnel" - man8.install "ptunnel.8" + system "make", "install", "prefix=#{prefix}" end def caveats; <<-EOS.undent @@ -18,4 +14,8 @@ class Ptunnel < Formula but this is not recommended. See http://www.cs.uit.no/~daniels/PingTunnel/ for details. EOS end + + test do + assert_match "v #{version}", shell_output("#{bin}/ptunnel -h", 1) + end end |
