wireshark: use stable block
This commit is contained in:
parent
9b36fb1e47
commit
3b737271b4
1 changed files with 10 additions and 11 deletions
|
@ -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?
|
||||
|
||||
|
|
Loading…
Reference in a new issue