erlang 24.0

Closes #77620.

Signed-off-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
master
Michael Cho 2021-05-19 12:10:03 -07:00 committed by BrewTestBot
parent f0d9fe2c72
commit 8bc45c27ed
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
2 changed files with 14 additions and 13 deletions

View File

@ -2,10 +2,9 @@ class Erlang < Formula
desc "Programming language for highly scalable real-time systems"
homepage "https://www.erlang.org/"
# Download tarball from GitHub; it is served faster than the official tarball.
url "https://github.com/erlang/otp/archive/OTP-23.3.4.tar.gz"
sha256 "adc937319227774d53f941f25fa31990f5f89a530f6cb5511d5ea609f9f18ebe"
url "https://github.com/erlang/otp/releases/download/OTP-24.0/otp_src_24.0.tar.gz"
sha256 "3d075006fb3832940843b6f12baaa6d1f36cadcd646be18ab2546db9c317e399"
license "Apache-2.0"
head "https://github.com/erlang/otp.git"
livecheck do
url :stable
@ -19,18 +18,21 @@ class Erlang < Formula
sha256 cellar: :any, mojave: "fbb11e617a4031b77dbc4c2d20ff1c8e471a8f9894959e015bdf8ebc0403268e"
end
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
head do
url "https://github.com/erlang/otp.git"
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
end
depends_on "openssl@1.1"
depends_on "wxmac" # for GUI apps like observer
uses_from_macos "m4" => :build
resource "html" do
url "https://www.erlang.org/download/otp_doc_html_23.3.tar.gz"
mirror "https://fossies.org/linux/misc/otp_doc_html_23.3.tar.gz"
sha256 "03d86ac3e71bb58e27d01743a9668c7a1265b573541d4111590f0f3ec334383e"
url "https://www.erlang.org/download/otp_doc_html_24.0.tar.gz"
mirror "https://fossies.org/linux/misc/otp_doc_html_24.0.tar.gz"
sha256 "6ceaa2cec97fa5a631779544a3c59afe9e146084e560725b823c476035716e73"
end
def install
@ -39,7 +41,7 @@ class Erlang < Formula
%w[LIBS FLAGS AFLAGS ZFLAGS].each { |k| ENV.delete("ERL_#{k}") }
# Do this if building from a checkout to generate configure
system "./otp_build", "autoconf" if File.exist? "otp_build"
system "./otp_build", "autoconf" unless File.exist? "configure"
args = %W[
--disable-debug
@ -47,7 +49,6 @@ class Erlang < Formula
--prefix=#{prefix}
--enable-dynamic-ssl-lib
--enable-hipe
--enable-sctp
--enable-shared-zlib
--enable-smp-support
--enable-threads