homebrew-core/Formula/wireshark.rb
Max Howell 61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00

19 lines
563 B
Ruby

require 'formula'
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
system "./configure", "--disable-debug",
"--prefix=#{prefix}",
"--disable-dependency-tracking",
"--disable-wireshark" # actually just disables the GTK GUI
system "make install"
end
def caveats
"We don't build the X11 enabled GUI by default"
end
end