From ecbc97996c9410c6d6096f31b418e07b47d41bb1 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Tue, 29 Jun 2010 20:33:37 -0700 Subject: [PATCH] Updates to Erlang formula. * Install erlang-skels.el for emacs * Always use GitHub download; it's too much faster not to. --- Formula/erlang.rb | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/Formula/erlang.rb b/Formula/erlang.rb index 3acef56028..eaece5fd97 100644 --- a/Formula/erlang.rb +++ b/Formula/erlang.rb @@ -6,22 +6,18 @@ class ErlangManuals "OTP_R13B04" + # Download from GitHub repo, which is much faster than using the official tarball + url "git://github.com/erlang/otp.git" homepage 'http://www.erlang.org' + version 'R13B04' + @specs = {:tag => "OTP_R13B04"} - # 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 `file` over everything in lib because there is almost - # 4000 files (and really erlang guys! what's with that?! Most of them should - # be in share/erlang!) - skip_clean 'lib' - # may as well skip this too, everything is just shell scripts - skip_clean 'bin' + # 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 + # `file` over everything in lib because there is almost 4000 files (and + # really erlang guys! what's with that?! Most of them should be in share/erlang!) + # may as well skip bin too, everything is just shell scripts + skip_clean ['lib', 'bin'] def install ENV.deparallelize @@ -45,7 +41,7 @@ class Erlang = 10.6 - config_flags << "--enable-darwin-64bit" + config_flags << "--enable-darwin-64bit" end system "./configure", *config_flags @@ -54,6 +50,9 @@ class Erlang