1 # Maintainer: CUI Hao <cuihao.leo at gmail dot com>
6 pkgdesc="An eMule-like client for ed2k p2p network with DLP patch enhanced by Bill Lee. Mercurial developing version."
8 url="http://code.google.com/p/amule-dlp/"
10 depends=('wxgtk' 'gd' 'geoip' 'libupnp' 'crypto++' 'libsm')
11 makedepends=('mercurial')
13 provides=('amule', 'amule-dlp')
20 msg "Connecting to Mercurial server..."
21 if [ -d "$_hgname" ] ; then
22 cd "$_hgname" && hg pull
25 hg clone https://amule-dlp.googlecode.com/hg/ ${_hgname}
28 rm -rf "${_hgname}-build"
29 cp -r "${_hgname}" "${_hgname}-build"
32 msg "Starting make..."
33 ./configure --prefix=/usr \
34 --mandir=/usr/share/man \
47 --enable-amule-daemon \
55 cd "${srcdir}/${_hgname}-build"
56 make DESTDIR=${pkgdir}/ install