extra/erlang-nox to 27.1.2-1

This commit is contained in:
Kevin Mihelich 2024-10-23 10:26:57 +00:00
parent f5fad50bc0
commit 93abd4bb4d
2 changed files with 16 additions and 17 deletions

View file

@ -1,6 +1,6 @@
pkgbase = erlang-nox
pkgdesc = General-purpose concurrent functional programming language (headless version)
pkgver = 27.1.1
pkgver = 27.1.2
pkgrel = 1
url = https://erlang.org/
arch = x86_64
@ -17,15 +17,15 @@ pkgbase = erlang-nox
optdepends = lksctp-tools: for SCTP support
conflicts = erlang
options = staticlibs
source = git+https://github.com/erlang/otp#tag=OTP-27.1.2
source = https://github.com/erlang/otp/releases/download/OTP-27.0/otp_doc_man_27.0.tar.gz
source = epmd.conf
source = epmd.service
source = epmd.socket
source = https://erlang.org//download/otp_doc_man_27.0.tar.gz
source = git+https://github.com/erlang/otp#tag=OTP-27.1.1
b2sums = 620be69b28ae152d3cd81432ba30ebcca965269761360c77f4bdd080558e07f1c47420836d15ef9e237d70834ed96a3e38ed9c7053789263855a41db566da1a8
b2sums = b55614bc3c795813eb2d73dc990f740efc8408a3639d98569adb9718ee140eb04ac2289ca3cd764d2610ac2138dfd6173b50bcae58b3971b51f4819cc33420e3
b2sums = 1675ac9bf948ab19e8b63077d870ccf356fcdbce14de2777f00b3488aa1ce34a5e0a5cdc0428707f744dee5940b12653a44e0ded0554de95ebb31bce4676ff87
b2sums = 1f765318bcd322ce697a48c064ccdb1bd107b4a84e164a87f62678391cb82a9ab17a397d679cf266e037a5a2d91772b85f7a97f9cc5478c0f18118743b30045f
b2sums = c37706f5f6e2d49100104fb442ebf15edd6ee0a1e8038d0364794cf34fd3f02a61b9ad2706228b3327b85b0cadcd11aac6087e7c98408eae2d307a09191b6553
b2sums = b55614bc3c795813eb2d73dc990f740efc8408a3639d98569adb9718ee140eb04ac2289ca3cd764d2610ac2138dfd6173b50bcae58b3971b51f4819cc33420e3
b2sums = b3249eae170d3e35a0e099eba7aba69d4b504e329fac112429e1975d3970d0018adf8cdceb16661020286e674b3196d80c7ae1051076666a8ab634db0b50a80f
pkgname = erlang-nox

View file

@ -9,8 +9,7 @@
# - configure with --disable-pgo to fix ARM FTBFS
pkgname=erlang-nox
# https://github.com/erlang/otp/tags
pkgver=27.1.1
pkgver=27.1.2
_docver=27.0
pkgrel=1
arch=(x86_64)
@ -23,16 +22,17 @@ conflicts=(erlang)
optdepends=('java-environment: for Java support'
'lksctp-tools: for SCTP support')
options=(staticlibs)
source=(epmd.conf
# https://github.com/erlang/otp/tags
source=("git+https://github.com/erlang/otp#tag=OTP-$pkgver"
"https://github.com/erlang/otp/releases/download/OTP-$_docver/otp_doc_man_$_docver.tar.gz"
epmd.conf
epmd.service
epmd.socket
"$url/download/otp_doc_man_$_docver.tar.gz"
"git+https://github.com/erlang/otp#tag=OTP-$pkgver")
b2sums=('1675ac9bf948ab19e8b63077d870ccf356fcdbce14de2777f00b3488aa1ce34a5e0a5cdc0428707f744dee5940b12653a44e0ded0554de95ebb31bce4676ff87'
'1f765318bcd322ce697a48c064ccdb1bd107b4a84e164a87f62678391cb82a9ab17a397d679cf266e037a5a2d91772b85f7a97f9cc5478c0f18118743b30045f'
'c37706f5f6e2d49100104fb442ebf15edd6ee0a1e8038d0364794cf34fd3f02a61b9ad2706228b3327b85b0cadcd11aac6087e7c98408eae2d307a09191b6553'
epmd.socket)
b2sums=('620be69b28ae152d3cd81432ba30ebcca965269761360c77f4bdd080558e07f1c47420836d15ef9e237d70834ed96a3e38ed9c7053789263855a41db566da1a8'
'b55614bc3c795813eb2d73dc990f740efc8408a3639d98569adb9718ee140eb04ac2289ca3cd764d2610ac2138dfd6173b50bcae58b3971b51f4819cc33420e3'
'b3249eae170d3e35a0e099eba7aba69d4b504e329fac112429e1975d3970d0018adf8cdceb16661020286e674b3196d80c7ae1051076666a8ab634db0b50a80f')
'1675ac9bf948ab19e8b63077d870ccf356fcdbce14de2777f00b3488aa1ce34a5e0a5cdc0428707f744dee5940b12653a44e0ded0554de95ebb31bce4676ff87'
'1f765318bcd322ce697a48c064ccdb1bd107b4a84e164a87f62678391cb82a9ab17a397d679cf266e037a5a2d91772b85f7a97f9cc5478c0f18118743b30045f'
'c37706f5f6e2d49100104fb442ebf15edd6ee0a1e8038d0364794cf34fd3f02a61b9ad2706228b3327b85b0cadcd11aac6087e7c98408eae2d307a09191b6553')
prepare() {
sed -i 's/^LDFLAGS = /LDFLAGS += /g' otp/lib/megaco/src/flex/Makefile.in
@ -51,7 +51,6 @@ build() {
--enable-shared-zlib \
--enable-ssl=dynamic-ssl-lib \
--prefix=/usr \
--without-odbc \
--disable-pgo
DOC_TARGETS=chunks make all
@ -61,9 +60,9 @@ build() {
package() {
make -C otp DESTDIR="$pkgdir" DOC_TARGETS=chunks install install-docs
install -Dm644 epmd.conf "$pkgdir/etc/conf.d/epmd"
install -Dm644 epmd.service "$pkgdir/usr/lib/systemd/system/epmd.service"
install -Dm644 epmd.socket "$pkgdir/usr/lib/systemd/system/epmd.socket"
install -Dm644 epmd.conf "$pkgdir/etc/conf.d/epmd"
cp -r -v man "$pkgdir/usr/lib/erlang/"