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