2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-06-06 22:54:52 +00:00
|
|
|
|
|
|
|
class Wireshark <Formula
|
|
|
|
@url='http://media-2.cacetech.com/wireshark/src/wireshark-1.0.8.tar.bz2'
|
|
|
|
@md5='09d895f111ee768cc0d7c7e2c427c496'
|
|
|
|
@homepage='http://www.wireshark.org'
|
|
|
|
|
|
|
|
def install
|
2009-08-07 14:41:43 +00:00
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--disable-wireshark" # actually just disables the GTK GUI
|
2009-06-06 22:54:52 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
|
|
|
|
def caveats
|
|
|
|
"We don't build the X11 enabled GUI by default"
|
|
|
|
end
|
|
|
|
end
|