aboutsummaryrefslogtreecommitdiffstats
path: root/testing/amule
diff options
context:
space:
mode:
authorTuan M. Hoang <tmhoang@flatglobe.org>2018-02-10 07:47:35 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-02-13 15:25:40 +0000
commitc56fb0dabbc700fa03e00e5504448eb063a95294 (patch)
tree6babd97f99e4530db19535875ab3026dd9b24320 /testing/amule
parent54124a59f87a2a70751069697523913cd9e6481a (diff)
downloadaports-c56fb0dabbc700fa03e00e5504448eb063a95294.tar.bz2
aports-c56fb0dabbc700fa03e00e5504448eb063a95294.tar.xz
testing/amule: upgrade to 10990, modernize APKBUILD
ref https://github.com/amule-project/amule/issues/41
Diffstat (limited to 'testing/amule')
-rw-r--r--testing/amule/APKBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/testing/amule/APKBUILD b/testing/amule/APKBUILD
index 83586f2222..304072e18f 100644
--- a/testing/amule/APKBUILD
+++ b/testing/amule/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=amule
_pkgname=aMule-SVN-r
-pkgver=10929
+pkgver=10990
pkgrel=0
pkgdesc="An eMule-like client for the eD2k and Kademlia networks"
url="http://www.amule.org"
@@ -22,6 +22,8 @@ build() {
cd "$builddir"
./configure \
CPPFLAGS="$CPPFLAGS -Wno-unused-local-typedefs" \
+ CFLAGS="$CFLAGS -fPIC" \
+ CXXFLAGS="$CXXFLAGS -fPIC" \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
@@ -35,17 +37,15 @@ build() {
--enable-alcc \
--enable-geoip \
--enable-upnp \
- --disable-debug \
- || return 1
- make || return 1
+ --enable-ccache \
+ --disable-debug
+ make
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
rm -f "$pkgdir"/usr/lib/charset.alias
}
-md5sums="7ddadf74e5d379c4c6b61fb4602153a5 aMule-SVN-r10929.tar.bz2"
-sha256sums="0bf7210c62e44da2d4f349ded34307ff283333746d3122fbb19496122a855f13 aMule-SVN-r10929.tar.bz2"
-sha512sums="e5757f5d06d0266a46b1ed89e1e360ebefd0c1792267fe3d731d3dda383f35fb7a336415510ab749c965ea012953fd3f0616f8461840f97e99cde8da8dcab672 aMule-SVN-r10929.tar.bz2"
+sha512sums="1883426e3d0e2a58227a5a95efcb3193d207e6b6c2d6c9c256aa430debc601ade3551f86c7519e9942d440cc1e87672b4d1e7f2dc69a8bb50bef89ddcb3170f5 aMule-SVN-r10990.tar.bz2"