aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/wireshark.rb
blob: 7e9d199a1ef6ac1b5c90b9a84d3c24a005dc3cf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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