2011-10-20 21:55:57 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Wbox < Formula
|
|
|
|
homepage 'http://hping.org/wbox/'
|
2012-02-10 04:31:42 +00:00
|
|
|
url 'http://hping.org/wbox/wbox-5.tar.gz'
|
2011-10-20 21:55:57 +00:00
|
|
|
md5 'a95ca2c69982db10704b5ed482c9c722'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "make"
|
|
|
|
bin.install "wbox"
|
|
|
|
end
|
|
|
|
|
|
|
|
def test
|
2012-05-15 21:36:45 +00:00
|
|
|
system "#{bin}/wbox", "www.google.com", "1"
|
2011-10-20 21:55:57 +00:00
|
|
|
end
|
|
|
|
end
|