summaryrefslogtreecommitdiff
path: root/user/erlang/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-08-07 04:16:42 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-08-07 04:16:42 +0000
commit539df6dad20f83501e741161014e558289c77382 (patch)
tree8753b40edf49d28bf1e8681d2aa7006050b4004e /user/erlang/APKBUILD
parent2e6d1fb43ce5d624ab54f116f3825306a8a04d04 (diff)
downloadpackages-539df6dad20f83501e741161014e558289c77382.tar.gz
packages-539df6dad20f83501e741161014e558289c77382.tar.bz2
packages-539df6dad20f83501e741161014e558289c77382.tar.xz
packages-539df6dad20f83501e741161014e558289c77382.zip
user/erlang: bump to 22.0.7
Diffstat (limited to 'user/erlang/APKBUILD')
-rw-r--r--user/erlang/APKBUILD19
1 files changed, 8 insertions, 11 deletions
diff --git a/user/erlang/APKBUILD b/user/erlang/APKBUILD
index e24353ac0..3c0e6ad73 100644
--- a/user/erlang/APKBUILD
+++ b/user/erlang/APKBUILD
@@ -1,24 +1,24 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=erlang
-pkgver=22.0
+pkgver=22.0.7
pkgrel=0
pkgdesc="Soft real-time system programming language"
url="https://www.erlang.org/"
arch="all"
license="Apache-2.0"
depends=""
-makedepends="flex libxml2-utils libxslt-dev m4 ncurses-dev openssl-dev perl
- unixodbc-dev"
+makedepends="autoconf automake flex libxml2-utils libxslt-dev m4 ncurses-dev
+ openssl-dev perl unixodbc-dev"
subpackages="$pkgname-dev"
-source="http://erlang.org/download/otp_src_$pkgver.tar.gz
+source="erlang-$pkgver.tar.gz::https://github.com/erlang/otp/archive/OTP-$pkgver.tar.gz
fix-wx-linking.patch
safe-signal-handling.patch
"
-builddir="$srcdir/otp_src_$pkgver"
+builddir="$srcdir/otp-OTP-$pkgver"
build() {
- cd "$builddir"
+ ./otp_build autoconf
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -34,8 +34,6 @@ build() {
check() {
local _header
-
- cd "$builddir"
export ERL_TOP=$builddir
make release_tests
@@ -50,10 +48,9 @@ check() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
-sha512sums="3f98697b59b33910fa461141fc4fe9635c4b6a53900dd90920add709dc10468aad7b9fde12419f05b27e038aee5a254319b1c5dc0e26ceabf29a7eb8020b5d23 otp_src_22.0.tar.gz
-5f1b05d8be71d5e3d7e8c5ad019329af8f68174251b5b6e0a9ee9cb3da51a10983b8696e23b3954c19de5d54783ec16f38c80c74724341dbafb22fcac83c77d4 fix-wx-linking.patch
+sha512sums="cf84cc20b97ed46f9ab3c7f1d77bcf6254ac3ebbb5c1e4e5202f4d5ba3d9c3bf5542567b047edaa68c204bc67ca667b1d96eb8153ac660e628c78fe271b6a8d9 erlang-22.0.7.tar.gz
+91c62e6a894d6f1ae371025e49c02ff25f1cc244fb18c8eae87c9e031d8216bab901b8d278df67db08f260f0d56fa18122f191405e4d58ca64934259f156b907 fix-wx-linking.patch
dc2fe08e40c73b48b356382c43c982f9f0091e601bbdf6e032358bd5c74c3573b423ef4df454b87c8534105fdbc19ce2245609cc7d5679109c15abaf56d3ef69 safe-signal-handling.patch"