aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorTomasz Pajor2014-08-01 09:00:28 +0200
committerMike McQuaid2014-08-01 18:47:18 +0200
commit08c645132b3e65c6b729dd079a849129823933e6 (patch)
tree2321390ca18bbcc8ae07d7dfa962d7a622222bbd /Library/Formula
parentf617bc3d1565509dcd611725b104284271dc936d (diff)
downloadhomebrew-08c645132b3e65c6b729dd079a849129823933e6.tar.bz2
wireshark 1.10.9, 1.12.0 (devel)
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/wireshark.rb43
1 files changed, 21 insertions, 22 deletions
diff --git a/Library/Formula/wireshark.rb b/Library/Formula/wireshark.rb
index e1e91b164..8b317bb9f 100644
--- a/Library/Formula/wireshark.rb
+++ b/Library/Formula/wireshark.rb
@@ -1,12 +1,12 @@
-require 'formula'
+require "formula"
class Wireshark < Formula
- homepage 'http://www.wireshark.org'
+ homepage "http://www.wireshark.org"
stable do
- url 'http://wiresharkdownloads.riverbed.com/wireshark/src/all-versions/wireshark-1.10.8.tar.bz2'
- mirror 'http://www.wireshark.org/download/src/all-versions/wireshark-1.10.8.tar.bz2'
- sha1 'aa6067ce91637506504c8b954caf75ac98742152'
+ url "http://wiresharkdownloads.riverbed.com/wireshark/src/all-versions/wireshark-1.10.9.tar.bz2"
+ mirror "http://www.wireshark.org/download/src/all-versions/wireshark-1.10.9.tar.bz2"
+ sha1 "902b0eb6f3e007c9ffcf6f76c02403bd90319f96"
# Removes SDK checks that prevent the build from working on CLT-only systems
# Reported upstream: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9290
@@ -20,7 +20,7 @@ class Wireshark < Formula
end
head do
- url 'https://code.wireshark.org/review/wireshark', :using => :git
+ url "https://code.wireshark.org/review/wireshark", :using => :git
depends_on "autoconf" => :build
depends_on "automake" => :build
@@ -28,27 +28,26 @@ class Wireshark < Formula
end
devel do
- url 'http://wiresharkdownloads.riverbed.com/wireshark/src/all-versions/wireshark-1.12.0-rc2.tar.bz2'
- sha1 '612856683bfe4f38fb74ef015c249c450d3a9b0d'
- version '1.12.0-rc2'
+ url "http://wiresharkdownloads.riverbed.com/wireshark/src/all-versions/wireshark-1.12.0.tar.bz2"
+ sha1 "c7a94a9ec90c1ff9be2a7d7b813276e433509df9"
end
- option 'with-qt', 'Use QT for GUI instead of GTK+3'
- option 'with-headers', 'Install Wireshark library headers for plug-in developemnt'
+ option "with-qt", "Use QT for GUI instead of GTK+3"
+ option "with-headers", "Install Wireshark library headers for plug-in developemnt"
- depends_on 'pkg-config' => :build
+ depends_on "pkg-config" => :build
- depends_on 'glib'
- depends_on 'gnutls'
- depends_on 'libgcrypt'
+ depends_on "glib"
+ depends_on "gnutls"
+ depends_on "libgcrypt"
- depends_on 'geoip' => :recommended
+ depends_on "geoip" => :recommended
- depends_on 'c-ares' => :optional
- depends_on 'lua' => :optional
- depends_on 'pcre' => :optional
- depends_on 'portaudio' => :optional
- depends_on 'qt' => :optional
+ depends_on "c-ares" => :optional
+ depends_on "lua" => :optional
+ depends_on "pcre" => :optional
+ depends_on "portaudio" => :optional
+ depends_on "qt" => :optional
depends_on "gtk+3" => :optional
depends_on "gtk+" => :optional
@@ -74,7 +73,7 @@ class Wireshark < Formula
ENV.deparallelize # parallel install fails
system "make install"
- if build.with? 'headers'
+ if build.with? "headers"
(include/"wireshark").install Dir["*.h"]
(include/"wireshark/epan").install Dir["epan/*.h"]
(include/"wireshark/epan/crypt").install Dir["epan/crypt/*.h"]