aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorRay Slakinski2011-06-16 10:33:16 -0400
committerAdam Vandenberg2011-06-16 09:10:06 -0700
commiteedc3a4aa49d355663737c5c8ae862760c21f40b (patch)
tree56d50e7bee222a7a8ae7476f84ad9f687aad65ea /Library
parentf7370cd587c1a88cd9978293ffa5ed19e7669b8f (diff)
downloadhomebrew-eedc3a4aa49d355663737c5c8ae862760c21f40b.tar.bz2
Erlang: use GitHub tarball for release version
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/erlang.rb11
1 files changed, 6 insertions, 5 deletions
diff --git a/Library/Formula/erlang.rb b/Library/Formula/erlang.rb
index be699746e..66ee055ea 100644
--- a/Library/Formula/erlang.rb
+++ b/Library/Formula/erlang.rb
@@ -21,12 +21,13 @@ class ErlangHeadHtmls < Formula
end
class Erlang < Formula
- # Download from GitHub. Much faster than official tarball.
- url "https://github.com/erlang/otp.git", :tag => "OTP_R14B03"
- version 'R14B03'
homepage 'http://www.erlang.org'
+ # Download tarball from GitHub; it is served faster than the official tarball.
+ url 'https://github.com/erlang/otp/tarball/OTP_R14B03'
+ md5 '047f246c4ecb5fadaffb7e049795d80e'
+ version 'R14B03'
- head "https://github.com/erlang/otp.git", :branch => "dev"
+ head 'https://github.com/erlang/otp.git', :branch => 'dev'
# We can't strip the beam executables or any plugins, there isn't really
# anything else worth stripping and it takes a really, long time to run
@@ -48,7 +49,7 @@ class Erlang < Formula
def install
ENV.deparallelize
- # If building from GitHub, this step is required (but not for tarball downloads.)
+ # Do this if building from a checkout to generate configure
system "./otp_build autoconf" if File.exist? "otp_build"
args = ["--disable-debug",