updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / amule-git / PKGBUILD
blob0c496c8e470de084bcb9bace087072eefb8f17ab
1 pkgname=amule-git
2 _realname=amule
3 pkgver=20101024
4 pkgrel=1
5 pkgdesc='An eMule-like client for the eD2k and Kademlia p2p networks ( Daemon Function )'
6 url='http://www.amule.org'
7 arch=('i686' 'x86_64')
8 license=('GPL')
9 backup=('etc/conf.d/amule.conf')
10 depends=('wxgtk' 'gd' 'binutils' 'geoip')
11 makedepends=('crypto++' 'git')
12 provides=('amule' 'amule-svn' 'amule-devel')
13 conflicts=('amule' 'amule-svn' 'amule-devel')
14 source=('amuled' 'amule.conf')
15 #http://amule.sourceforge.net/tarballs/aMule-SVN-r10080.tar.bz2)
17 _gitroot="git://repo.or.cz/amule.git"
18 _gitname="amule"
20 build() {
21 cd ${srcdir}
23 msg "Connecting to repo.or.cz GIT server...."
24 git clone $_gitroot $_gitname
25 msg "GIT checkout done or server timeout"
26 msg "Starting make..."
27 cd ${srcdir}/$_gitname
29 #cd ${srcdir}/aMule-SVN-r10080
31 ./configure --prefix=/usr \
32                 --mandir=/usr/share/man \
33                 --enable-utf8-systray \
34                 --enable-cas \
35                 --enable-alc \
36                 --disable-debug \
37                 --disable-upnp \
38                 --enable-optimize \
39                 --enable-webserver \
40                 --enable-amule-daemon \
41                 --enable-geoip \
42                 --enable-amule-gui \
43                 --enable-fileview \
44                 --enable-amulecmd
46 make -j2 || return 1
47 make DESTDIR=${pkgdir} install || return 1
48 install -D -m644 ${srcdir}/amule.conf ${pkgdir}/etc/conf.d/amule.conf
49 install -D -m755 ${srcdir}/amuled ${pkgdir}/etc/rc.d/amuled
51 md5sums=('f710777ed5fa52e56f2c247fbeb4a281'
52          '6652f53c665776faab107c6ba573ce26')