xulrunner 27.0.1 --devel 28.0b3
Closes Homebrew/homebrew#26731. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
8737538b03
commit
8f64be4d15
1 changed files with 10 additions and 8 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue