parent
a2b4cc58b5
commit
42f4ff258a
|
@ -1,41 +1,39 @@
|
|||
require 'formula'
|
||||
|
||||
class ErlangManuals < Formula
|
||||
url 'http://erlang.org/download/otp_doc_man_R15B01.tar.gz'
|
||||
sha1 'ec303c8e2957570b3b1ad56af8a5b29a6618d09a'
|
||||
url 'http://erlang.org/download/otp_doc_man_R15B02.tar.gz'
|
||||
sha1 'e50cc887b36b0b2f158a87fa5b21cb2b2c6679b0'
|
||||
end
|
||||
|
||||
class ErlangHtmls < Formula
|
||||
url 'http://erlang.org/download/otp_doc_html_R15B01.tar.gz'
|
||||
sha1 'dfbad0ffd99be2ae219615f7a354ee9d1442e1a7'
|
||||
url 'http://erlang.org/download/otp_doc_html_R15B02.tar.gz'
|
||||
sha1 'b2ef425fe5aa9f4fff7afaa9b8204c45357eaa89'
|
||||
end
|
||||
|
||||
class ErlangHeadManuals < Formula
|
||||
url 'http://erlang.org/download/otp_doc_man_R15B01.tar.gz'
|
||||
sha1 'e6f74fdab17d12026fe364d9658b906e58824076'
|
||||
url 'http://erlang.org/download/otp_doc_man_R15B02.tar.gz'
|
||||
sha1 'e50cc887b36b0b2f158a87fa5b21cb2b2c6679b0'
|
||||
end
|
||||
|
||||
class ErlangHeadHtmls < Formula
|
||||
url 'http://erlang.org/download/otp_doc_html_R15B01.tar.gz'
|
||||
sha1 'e6f74fdab17d12026fe364d9658b906e58824076'
|
||||
url 'http://erlang.org/download/otp_doc_html_R15B02.tar.gz'
|
||||
sha1 'b2ef425fe5aa9f4fff7afaa9b8204c45357eaa89'
|
||||
end
|
||||
|
||||
class Erlang < Formula
|
||||
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_R15B01'
|
||||
sha1 'efc06b5058605e25bfde41d614a2040f282c2601'
|
||||
|
||||
bottle do
|
||||
sha1 'e6f74fdab17d12026fe364d9658b906e58824076' => :mountainlion
|
||||
# Lion bottle built on OS X 10.7.2 using Xcode 4.1 using:
|
||||
# brew install erlang --build-bottle --use-gcc
|
||||
sha1 '4dfc11ed455f8f866ab4627e8055488fa1954fa4' => :lion
|
||||
sha1 '8a4adc813ca906c8e685ff571de03653f316146c' => :snowleopard
|
||||
end
|
||||
url 'https://github.com/erlang/otp/tarball/OTP_R15B02'
|
||||
sha1 '540d0d0a006082a8bc3e1fc239f2043fee015967'
|
||||
|
||||
head 'https://github.com/erlang/otp.git', :branch => 'dev'
|
||||
|
||||
bottle do
|
||||
sha1 '94cbe622b817e8a5bd7797b615aad5e47c5d8660' => :mountainlion
|
||||
sha1 'ec5b4749668c95ad55410c0316390046ee576895' => :lion
|
||||
sha1 '10b0aa609354c07938ac936578c9d1f12a4249ba' => :snowleopard
|
||||
end
|
||||
|
||||
# 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
|
||||
|
@ -92,7 +90,6 @@ class Erlang < Formula
|
|||
|
||||
system "./configure", *args
|
||||
touch 'lib/wx/SKIP' if MacOS.version >= :snow_leopard
|
||||
ENV.j1 # Parallel builds not working again as of at least R15B01
|
||||
system "make"
|
||||
system "make install"
|
||||
|
||||
|
|
Loading…
Reference in New Issue