2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-06-06 22:54:52 +00:00
|
|
|
|
|
|
|
class Wireshark <Formula
|
2009-12-16 06:04:57 +00:00
|
|
|
@url='http://media-2.cacetech.com/wireshark/src/wireshark-1.0.10.tar.bz2'
|
|
|
|
@md5='facf1eef2f126a9d45e5c30702dae12b'
|
2009-06-06 22:54:52 +00:00
|
|
|
@homepage='http://www.wireshark.org'
|
|
|
|
|
2010-01-13 13:50:24 +00:00
|
|
|
depends_on 'glib'
|
|
|
|
|
2009-06-06 22:54:52 +00:00
|
|
|
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
|