mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
testing/amule: upgrade to 10990, modernize APKBUILD
ref https://github.com/amule-project/amule/issues/41
This commit is contained in:
parent
54124a59f8
commit
c56fb0dabb
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user