aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorDavid Holm2014-02-14 23:12:17 +0100
committerMike McQuaid2014-02-14 23:46:59 +0000
commitf872b266603546fd6eafbaf4c1eec423fccde7df (patch)
tree913863196ca3ad5e2588c9588053d96e15573b11 /Library/Formula
parentfc3d053423fff62b6433a75efcc6a1041d1cc69f (diff)
downloadhomebrew-f872b266603546fd6eafbaf4c1eec423fccde7df.tar.bz2
xulrunner 27.0.1 --devel 28.0b3
Closes #26731. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/xulrunner.rb18
1 files changed, 10 insertions, 8 deletions
diff --git a/Library/Formula/xulrunner.rb b/Library/Formula/xulrunner.rb
index 2d65529aa..9d9502d98 100644
--- a/Library/Formula/xulrunner.rb
+++ b/Library/Formula/xulrunner.rb
@@ -34,12 +34,13 @@ end
class Xulrunner < Formula
homepage "https://developer.mozilla.org/docs/XULRunner"
- url "http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/27.0/source/xulrunner-27.0.source.tar.bz2"
- sha1 "fbce25e33aea4291d83e8d5420a870b5e29371ec"
+ url "http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/27.0.1/source/xulrunner-27.0.1.source.tar.bz2"
+ sha1 'c9c5a6142fc9c50113c18eb8b1fb9249c08c4aac'
devel do
- url "http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/28.0b1/source/xulrunner-28.0b1.source.tar.bz2"
- sha1 "ede3088dae3023e4ad42615d07112565bbd54e3c"
+ url "http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/28.0b3/source/xulrunner-28.0b3.source.tar.bz2"
+ sha1 'f35c986e2889dcee1d9f458ff7942ec6d3b1bbe9'
+ version '28.0b3'
end
head do
@@ -97,12 +98,13 @@ class Xulrunner < Formula
frameworks.mkpath
if build.head?
# update HEAD version here with every version bump
- system "tar", "-xvj", "-C", frameworks, "-f",
- "objdir/dist/xulrunner-30.0a1.en-US.mac64.tar.bz2"
+ tar_path = "objdir/dist/xulrunner-30.0a1.en-US.mac64.tar.bz2"
+ elsif build.devel?
+ tar_path = "objdir/dist/xulrunner-#{version.to_s[/\d+.\d/]}.en-US.mac64.tar.bz2"
else
- system "tar", "-xvj", "-C", frameworks, "-f",
- "objdir/dist/xulrunner-#{version.to_s[/\d+.\d/]}.en-US.mac64.tar.bz2"
+ tar_path = "objdir/dist/xulrunner-#{version}.en-US.mac64.tar.bz2"
end
+ system "tar", "-xvj", "-C", frameworks, "-f", tar_path
# symlink only xulrunner here will fail (assumes dylibs in same directory)
bin.write_exec_script frameworks/"XUL.framework/Versions/Current/xulrunner"