2014-01-25 18:42:49 +00:00
|
|
|
class Bittwist < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Libcap-based Ethernet packet generator"
|
2014-01-25 18:42:49 +00:00
|
|
|
homepage "http://bittwist.sourceforge.net"
|
2014-02-27 14:19:55 +00:00
|
|
|
url "https://downloads.sourceforge.net/project/bittwist/Mac%20OS%20X/Bit-Twist%202.0/bittwist-macosx-2.0.tar.gz"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "8954462ac9e21376d9d24538018d1225ef19ddcddf9d27e0e37fe7597e408eaa"
|
2014-01-25 18:42:49 +00:00
|
|
|
|
2015-10-07 06:47:48 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any_skip_relocation
|
2016-09-28 18:21:48 +00:00
|
|
|
sha256 "b69084cc099ecb0fcea860d9d07fb8a271b1bd645bef603abfe0cb20f4979902" => :sierra
|
2015-10-07 06:47:48 +00:00
|
|
|
sha256 "215b6353dcedd6ad0908e725c68204f2aa8413bf32ae3eb0a3afa96eb6c17d60" => :el_capitan
|
|
|
|
sha256 "279cade886758dfabfbaa319c6afb302c7e254db0377f0eed1f1155afb800175" => :yosemite
|
|
|
|
sha256 "3dcd106243667b15b4be07203daffb1c97f815051734813c0e37384c6db3747c" => :mavericks
|
|
|
|
end
|
|
|
|
|
2014-01-25 18:42:49 +00:00
|
|
|
def install
|
|
|
|
system "make"
|
|
|
|
system "make", "install", "prefix=#{prefix}"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
2015-10-05 12:05:34 +00:00
|
|
|
system "#{bin}/bittwist", "-help"
|
|
|
|
system "#{bin}/bittwiste", "-help"
|
2014-01-25 18:42:49 +00:00
|
|
|
end
|
|
|
|
end
|