aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2019-10-15 01:45:38 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2019-10-18 12:39:14 +0000
commitd4fa805c673500a4f1cfd020ab641927ab81c3e9 (patch)
tree41889bc06b5ce7ae336b9652f66974d75e52e115
parentfcb5db149608884771e4ee8696a568d5dbff9b33 (diff)
downloadaports-d4fa805c673500a4f1cfd020ab641927ab81c3e9.tar.bz2
aports-d4fa805c673500a4f1cfd020ab641927ab81c3e9.tar.xz
community/erlang: upgrade to 22.1
-rw-r--r--community/erlang/APKBUILD32
1 files changed, 15 insertions, 17 deletions
diff --git a/community/erlang/APKBUILD b/community/erlang/APKBUILD
index eb9f83a18a..3f9332692e 100644
--- a/community/erlang/APKBUILD
+++ b/community/erlang/APKBUILD
@@ -3,11 +3,11 @@
# Contributor: Marlus Saraiva <marlus.saraiva@gmail.com>
# Maintainer: Daniel Isaksen <d@duniel.no>
pkgname=erlang
-pkgver=22.0.7
+pkgver=22.1
_srcver=$pkgver
-pkgrel=2
+pkgrel=0
pkgdesc="General-purpose programming language and runtime environment"
-url="http://www.erlang.org/"
+url="https://www.erlang.org/"
license="Apache-2.0"
arch="all"
depends="$pkgname-kernel $pkgname-stdlib $pkgname-compiler"
@@ -51,20 +51,19 @@ subpackages="$pkgname-dev
$pkgname-tools:tools
$pkgname-wx:wx
$pkgname-xmerl:xmerl"
-#options="!check"
-source="https://github.com/erlang/otp/archive/OTP-$_srcver.tar.gz
+source="https://github.com/erlang/otp/releases/download/OTP-22.1/OTP-$_srcver-bundle.tar.gz
0005-Do-not-install-nteventlog-and-related-doc-files-on-n.patch
- 0010-fix-nteventlog-remove.patch
- safe-signal-handling.patch"
+ 0010-fix-nteventlog-remove.patch"
-builddir="$srcdir/otp-OTP-$_srcver"
+builddir="$srcdir/otp"
build() {
export CPPFLAGS="-D_BSD_SOURCE $CPPFLAGS"
export PATH="/usr/lib/jvm/java-1.8-openjdk/bin:$PATH"
./otp_build autoconf
- ./configure --prefix=/usr \
+ ./configure \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
@@ -73,12 +72,12 @@ build() {
--enable-threads \
--enable-shared-zlib \
--enable-ssl=dynamic-ssl-lib
- make
- }
+ make
+}
- check() {
- ERL_TOP="$builddir" make release_tests
- }
+check() {
+ ERL_TOP="$builddir" make release_tests
+}
package() {
make DESTDIR="$pkgdir" install
@@ -172,7 +171,6 @@ dev() {
}
-sha512sums="cf84cc20b97ed46f9ab3c7f1d77bcf6254ac3ebbb5c1e4e5202f4d5ba3d9c3bf5542567b047edaa68c204bc67ca667b1d96eb8153ac660e628c78fe271b6a8d9 OTP-22.0.7.tar.gz
+sha512sums="e961422cb220f4e9b8e242337eb280d6a29e6c53963df59d6ae27ee6d8ac53b99c824bdf12b48a344b5dfe84adb54130a5639ae7eebe55c41020605543100b98 OTP-22.1-bundle.tar.gz
6a711e25b55816527c0a793e45dafb9a95b0a20fa537f8e03fb918e0137f1b1f60e414861a7005b8230a72e3e2f5e0caedb054a6c492b6f6f859ddbad47d2175 0005-Do-not-install-nteventlog-and-related-doc-files-on-n.patch
-dbbc05908cd4b1a3842ff32afcef8a0621b1ec532e83d70fed4ee9263b3f82afc0d173c7a7c776196c8f54c2ab2bca3c9ce35da676dedd5802dbc23111525577 0010-fix-nteventlog-remove.patch
-dc2fe08e40c73b48b356382c43c982f9f0091e601bbdf6e032358bd5c74c3573b423ef4df454b87c8534105fdbc19ce2245609cc7d5679109c15abaf56d3ef69 safe-signal-handling.patch"
+dbbc05908cd4b1a3842ff32afcef8a0621b1ec532e83d70fed4ee9263b3f82afc0d173c7a7c776196c8f54c2ab2bca3c9ce35da676dedd5802dbc23111525577 0010-fix-nteventlog-remove.patch"