updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / amule-remote-upnp / PKGBUILD
blob178f2e64bd3f6a7eb01935ee3993616dc5c8356b
1 # Contributor: wantilles <wantilles@adslgr.com>
3 pkgname=amule-remote-upnp
4 pkgver=2.2.6
5 pkgrel=1
6 pkgdesc="An eMule-like client for ed2k p2p network"
7 arch=('i686' 'x86_64')
8 url="http://www.amule.org/"
9 license=('GPL')
10 backup=('etc/conf.d/amule.conf')
11 depends=('wxgtk>=2.8.10.1' 'gd>=2.0.35' 'geoip' 'binutils>=2.19.1' 'libupnp>=1.6.6')
12 makedepends=('crypto++')
13 conflicts=('amule' 'amule-svn' 'amule-remote-svn' 'amule-remote' 'amule-noupnp-svn' 'amule-remote-noupnp-svn' 'amule-noupnp')
14 provides=("amule=${pkgver}" "amule-remote=${pkgver}")
15 source=(http://downloads.sourceforge.net/sourceforge/amule/aMule-${pkgver}.tar.bz2
16         amule.conf
17         amuled)
18 md5sums=('530d9b48187e36f78fc21bb19e94326d' '6652f53c665776faab107c6ba573ce26'\
19          '844d48ebff1d888f5894319cd2bc6457')
21 build() {
22   cd ${srcdir}/aMule-${pkgver}
23   ./configure --prefix=/usr \
24               --mandir=/usr/share/man \
25               --enable-optimize \
26               --enable-ccache \
27               --enable-amulecmd \
28               --enable-amule-daemon \
29               --enable-remote \
30               --enable-webserver \
31               --enable-cas \
32               --enable-alcc \
33               --enable-upnp \
34               --enable-geoip \
35               --disable-monolithic \
36               --disable-wxcas \
37               --disable-amule-gui \
38               --disable-alc \
39               --disable-debug
40   make || return 1
41   make DESTDIR=${pkgdir}/ install || return 1
43   install -D -m755 ${startdir}/amuled ${pkgdir}/etc/rc.d/amuled
44   install -D -m644 ${startdir}/amule.conf ${pkgdir}/etc/conf.d/amule.conf