Files
chromebrew/packages/erlang.rb
github-actions[bot] e324cb9c58 AutoBuild: update-erlang started at 2025-04-05-03UTC (#11686)
* Erlang 27.3 => 27.3.2

* Add built packages for linux/amd64 to update-erlang

* Add built packages for linux/arm/v7 to update-erlang

---------

Co-authored-by: Ed Reel <edreel@gmail.com>
Co-authored-by: uberhacker <uberhacker@users.noreply.github.com>
2025-04-05 12:02:06 +00:00

33 lines
1.1 KiB
Ruby

require 'buildsystems/autotools'
class Erlang < Autotools
description 'Erlang is a programming language used to build massively scalable soft real-time systems with requirements on high availability.'
homepage 'https://www.erlang.org/'
version '27.3.2'
license 'Apache-2.0'
compatibility 'aarch64 armv7l x86_64'
source_url 'https://github.com/erlang/otp.git'
git_hashtag "OTP-#{version}"
binary_compression 'tar.zst'
binary_sha256({
aarch64: '512a920a92e5011e80196cfad84571398142398030cfd8ffd59229803b68f0bf',
armv7l: '512a920a92e5011e80196cfad84571398142398030cfd8ffd59229803b68f0bf',
x86_64: '6d2449b58f505a341b545c88b92eac5805a8cfecfdf99b77e34d0df10580bb1d'
})
depends_on 'gcc_lib' # R
depends_on 'glib' # R
depends_on 'glibc' # R
depends_on 'libglu' # R
depends_on 'libglvnd' # R
depends_on 'ncurses' # R
depends_on 'openjdk8' # R
depends_on 'openssl' # R
depends_on 'unixodbc' # R
depends_on 'wxwidgets' # R
depends_on 'zlib' # R
configure_options "ERL_OTP=#{Dir.pwd} #{'--disable-year2038' unless ARCH.eql?('x86_64')}"
end