Skip to content
Snippets Groups Projects
Commit c56fb0da authored by Tuan M. Hoang's avatar Tuan M. Hoang Committed by Natanael Copa
Browse files

testing/amule: upgrade to 10990, modernize APKBUILD

parent 54124a59
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Maintainer: August Klein <amatcoder@gmail.com> # Maintainer: August Klein <amatcoder@gmail.com>
pkgname=amule pkgname=amule
_pkgname=aMule-SVN-r _pkgname=aMule-SVN-r
pkgver=10929 pkgver=10990
pkgrel=0 pkgrel=0
pkgdesc="An eMule-like client for the eD2k and Kademlia networks" pkgdesc="An eMule-like client for the eD2k and Kademlia networks"
url="http://www.amule.org" url="http://www.amule.org"
...@@ -22,6 +22,8 @@ build() { ...@@ -22,6 +22,8 @@ build() {
cd "$builddir" cd "$builddir"
./configure \ ./configure \
CPPFLAGS="$CPPFLAGS -Wno-unused-local-typedefs" \ CPPFLAGS="$CPPFLAGS -Wno-unused-local-typedefs" \
CFLAGS="$CFLAGS -fPIC" \
CXXFLAGS="$CXXFLAGS -fPIC" \
--build=$CBUILD \ --build=$CBUILD \
--host=$CHOST \ --host=$CHOST \
--prefix=/usr \ --prefix=/usr \
...@@ -35,17 +37,15 @@ build() { ...@@ -35,17 +37,15 @@ build() {
--enable-alcc \ --enable-alcc \
--enable-geoip \ --enable-geoip \
--enable-upnp \ --enable-upnp \
--disable-debug \ --enable-ccache \
|| return 1 --disable-debug
make || return 1 make
} }
package() { package() {
cd "$builddir" cd "$builddir"
make DESTDIR="$pkgdir" install || return 1 make DESTDIR="$pkgdir" install
rm -f "$pkgdir"/usr/lib/charset.alias rm -f "$pkgdir"/usr/lib/charset.alias
} }
md5sums="7ddadf74e5d379c4c6b61fb4602153a5 aMule-SVN-r10929.tar.bz2" sha512sums="1883426e3d0e2a58227a5a95efcb3193d207e6b6c2d6c9c256aa430debc601ade3551f86c7519e9942d440cc1e87672b4d1e7f2dc69a8bb50bef89ddcb3170f5 aMule-SVN-r10990.tar.bz2"
sha256sums="0bf7210c62e44da2d4f349ded34307ff283333746d3122fbb19496122a855f13 aMule-SVN-r10929.tar.bz2"
sha512sums="e5757f5d06d0266a46b1ed89e1e360ebefd0c1792267fe3d731d3dda383f35fb7a336415510ab749c965ea012953fd3f0616f8461840f97e99cde8da8dcab672 aMule-SVN-r10929.tar.bz2"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment