aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorSid Karunaratne2012-01-17 11:28:57 +0000
committerAdam Vandenberg2012-03-12 20:47:20 -0700
commit658cf51a2c60028b43953c59b423e619fbfffdfb (patch)
tree81fc8e72e2abca6a684e783c1da2e0b5f0c9db0e /Library/Formula
parent51e16a8ac32080a5f1787e69447b4c9f57e25c7c (diff)
downloadhomebrew-658cf51a2c60028b43953c59b423e619fbfffdfb.tar.bz2
tcpurify 0.11.2
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/tcpurify.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/tcpurify.rb b/Library/Formula/tcpurify.rb
new file mode 100644
index 000000000..94ddfbde1
--- /dev/null
+++ b/Library/Formula/tcpurify.rb
@@ -0,0 +1,16 @@
+require 'formula'
+
+class Tcpurify < Formula
+ homepage 'http://irg.cs.ohiou.edu/~eblanton/tcpurify/'
+ url 'http://irg.cs.ohiou.edu/~eblanton/tcpurify/tcpurify-0.11.2.tar.gz'
+ sha1 'd095de38e264afd40de6f2d7c35609a3fab4c92a'
+
+ def install
+ system "./configure", "--prefix=#{prefix}"
+ system "make install"
+ end
+
+ def test
+ system "#{bin}/tcpurify -v" # Using -v, as without that it returns -1
+ end
+end