aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2014-03-18 20:23:19 -0700
committerAdam Vandenberg2014-03-18 20:44:05 -0700
commit64360d8293db93f44478b73c220313da943b24de (patch)
treeed0d5717efeebe9247a61c1f12f765a642e20136 /Library
parent1f6d7338aa20c9b1ac14dec4461a86a4bfbf32e7 (diff)
downloadhomebrew-64360d8293db93f44478b73c220313da943b24de.tar.bz2
wireshark: use stable block
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/wireshark.rb21
1 files changed, 10 insertions, 11 deletions
diff --git a/Library/Formula/wireshark.rb b/Library/Formula/wireshark.rb
index 7bd7a761e..ac6a903fc 100644
--- a/Library/Formula/wireshark.rb
+++ b/Library/Formula/wireshark.rb
@@ -2,9 +2,16 @@ require 'formula'
class Wireshark < Formula
homepage 'http://www.wireshark.org'
- url 'http://wiresharkdownloads.riverbed.com/wireshark/src/wireshark-1.10.6.tar.bz2'
- mirror 'http://www.wireshark.org/download/src/wireshark-1.10.6.tar.bz2'
- sha1 '081a2daf85e3257d7a2699e84a330712e3e5b9bb'
+
+ stable do
+ url 'http://wiresharkdownloads.riverbed.com/wireshark/src/wireshark-1.10.6.tar.bz2'
+ mirror 'http://www.wireshark.org/download/src/wireshark-1.10.6.tar.bz2'
+ sha1 '081a2daf85e3257d7a2699e84a330712e3e5b9bb'
+
+ # 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
+ patch :DATA
+ end
head do
url 'https://code.wireshark.org/review/wireshark', :using => :git
@@ -42,14 +49,6 @@ class Wireshark < Formula
depends_on 'gtk+'
end
- def patches
- if build.stable?
- # 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
- { :p1 => DATA }
- end
- end
-
def install
system "./autogen.sh" if build.head?