diff options
| author | Justin de Vesine | 2011-11-07 10:16:02 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-02-19 13:50:01 -0800 |
| commit | 42ed8014ed7b0e1d603886b60ca3d9b1ef49c2c3 (patch) | |
| tree | ad2ce1b2b9ccd43b861b93632b6ec7075721bf88 | |
| parent | 05ccc25a669ab7b20869aec6c199caa5d65999b7 (diff) | |
| download | homebrew-42ed8014ed7b0e1d603886b60ca3d9b1ef49c2c3.tar.bz2 | |
spidermonkey: add --HEAD
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Formula/spidermonkey.rb | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Library/Formula/spidermonkey.rb b/Library/Formula/spidermonkey.rb index a021b6ee8..2bce383cb 100644 --- a/Library/Formula/spidermonkey.rb +++ b/Library/Formula/spidermonkey.rb @@ -2,18 +2,26 @@ require 'formula' # Private older version of autoconf required to compile Spidermonkey class Autoconf213 < Formula + homepage 'http://www.gnu.org/software/autoconf/' url 'http://ftpmirror.gnu.org/autoconf/autoconf-2.13.tar.gz' mirror 'http://ftp.gnu.org/gnu/autoconf/autoconf-2.13.tar.gz' md5 '9de56d4a161a723228220b0f425dc711' - homepage 'http://www.gnu.org/software/autoconf/' end class Spidermonkey < Formula homepage 'https://developer.mozilla.org/en/SpiderMonkey' url 'http://ftp.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.gz' - md5 'a4574365938222adca0a6bd33329cb32' version '1.8.5' + # Don't provide an md5 for the HEAD build + unless ARGV.build_head? + md5 'a4574365938222adca0a6bd33329cb32' + end + + # This is terribly, terribly slow the first time. + # head 'https://hg.mozilla.org/tracemonkey', :using => :hg + head 'https://hg.mozilla.org/tracemonkey/archive/tip.tar.gz', :using => :curl + depends_on 'readline' depends_on 'nspr' |
