diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/tcpurify.rb | 16 |
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 |
