Added Erlang 26.0.0

This commit is contained in:
RVG|lory 2023-05-14 15:09:46 +02:00 committed by GitHub
parent c1ed7a7118
commit d9b57936be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 36 additions and 0 deletions

20
packages/erlang/26.0.0/build.sh vendored Normal file
View file

@ -0,0 +1,20 @@
#!/bin/bash
PREFIX=$(realpath $(dirname $0))
mkdir -p build
cd build
curl "http://erlang.org/download/otp_src_26.tar.gz" -o erlang.tar.gz
tar xzf erlang.tar.gz --strip-components=1
rm erlang.tar.gz
export ERL_TOP=$(pwd)
./configure --prefix "$PREFIX"
make -j$(nproc)
make install -j$(nproc)
cd ..
rm -rf build