blob: d8b33f11614fcaa84aeefde9eb4a8cd9ebe45cac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  | 
require 'formula'
class Wireshark <Formula
  url 'http://media-2.cacetech.com/wireshark/src/wireshark-1.4.0.tar.bz2'
  md5 '13b188baea23cdad40b7a55921384a77'
  homepage 'http://www.wireshark.org'
  depends_on 'gnutls' => :optional
  depends_on 'pcre' => :optional
  depends_on 'glib'
  def install
    system "./configure", "--prefix=#{prefix}",
                          "--disable-dependency-tracking",
                          "--disable-wireshark" # actually just disables the GTK GUI
    system "make"
    ENV.j1 # Install failed otherwise.
    system "make install"
  end
  def caveats
    "We don't build the X11-enabled GUI by default"
  end
end
  |