aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/erlang/APKBUILD31
1 files changed, 19 insertions, 12 deletions
diff --git a/testing/erlang/APKBUILD b/testing/erlang/APKBUILD
index 02a338d0a..3149a2434 100644
--- a/testing/erlang/APKBUILD
+++ b/testing/erlang/APKBUILD
@@ -6,26 +6,26 @@
# http://pkgs.fedoraproject.org/gitweb/?p=erlang.git;a=blob;f=erlang.spec
pkgname=erlang
-pkgver=14.2.02
+pkgver=16.2
# note: versioning scheme is weird. the .2. -> B
# needs to be updated manually
-_ver=${pkgver%%.*}B${pkgver##*.}
-pkgrel=1
+_ver=${pkgver%%.*}B
+#_ver=${pkgver%%.*}B${pkgver##*.}
+pkgrel=0
pkgdesc="General-purpose programming language and runtime environment"
url="http://www.erlang.org/"
license="ERPL"
arch="all"
-depends=
+depends=""
makedepends="perl-dev zlib-dev ncurses-dev openssl-dev"
-install=
+install=""
subpackages="$pkgname-dev"
-
-# patch found: http://pkgs.fedoraproject.org/gitweb/?p=erlang.git;a=tree
+# Patches found: http://pkgs.fedoraproject.org/gitweb/?p=erlang.git;a=tree
source="http://www.erlang.org/download/otp_src_R$_ver.tar.gz
- otp-0004-Do-not-install-C-sources.patch"
+ otp-0002-Remove-rpath.patch
+ otp-0003-Do-not-install-C-sources.patch"
_builddir="$srcdir"/otp_src_R$_ver
-
prepare() {
local i
cd "$_builddir"
@@ -63,8 +63,15 @@ build() {
package() {
cd "$_builddir"
- make -j1 DESTDIR="$pkgdir" install
+ make -j1 DESTDIR="$pkgdir" install || return 1
}
-md5sums="229fb8f193b09ac04a57a9d7794349b7 otp_src_R14B02.tar.gz
-e7e4b43883e5fc860bf18701850512b1 otp-0004-Do-not-install-C-sources.patch"
+md5sums="7ee131515bc496e7522e0dec2a4c26e3 otp_src_R16B.tar.gz
+2978a60b60f62ad7e46834489e81d06a otp-0002-Remove-rpath.patch
+10d9990675b1be003ead2a8862fc4fe6 otp-0003-Do-not-install-C-sources.patch"
+sha256sums="f01c2cfe512d3118fd3398a66bdb82bea6ad0f45b464a46a58e452264b7682cd otp_src_R16B.tar.gz
+d7c494ba1f37e2f3d45d7455c8d771268bcbeba2143078b51d42ffa874a34761 otp-0002-Remove-rpath.patch
+98de7e14f9d8e94c3a2d117125048f1f4c1bff242112e3149cd775a967fb6d6f otp-0003-Do-not-install-C-sources.patch"
+sha512sums="ca8587df663ef3066aaca868a8f79cc002a9ee4d6d57162c75cd54d5e6dcc02a9477fa4a58110cb82f25f50f316ddaf2660010c4b43b8c7b36135b00e0e9221e otp_src_R16B.tar.gz
+f1c5251d8f532322bd8cdd1fba3104ec2916dfaad42026112f1ea59bcf081725781b51f8c6c3bb3bf6af9d404e343bd0e22c3266ff2797ec01ffc91c92fdba4a otp-0002-Remove-rpath.patch
+e2ec4488ce5587e2a5af67a11aca2c619db7056cbc37520ff054123faee878fb9f726a34719013245d7cfc2ec23362207018efa5bf73f98387fbd1b53b02c014 otp-0003-Do-not-install-C-sources.patch"