Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Mainteiner: ntia89 <[email protected]>
- # Contributor: Andrea Scarpino <[email protected]>
- # Contributor: erm67
- # Contributor: ntia89
- pkgname=amule-adnza-svn
- pkgver=288
- pkgrel=4
- pkgdesc='aMule patched for Fastweb Network (Italy) by Adunanza forum - SVN'
- url='http://www.adunanza.net/'
- license=('GPL')
- arch=('i686' 'x86_64')
- depends=('wxgtk' 'gd' 'crypto++')
- makedepends=('subversion' 'cvs' 'perl')
- conflicts=('amule' 'amule-adnza')
- provides=('amule')
- source=()
- md5sums=()
- _svntrunk=https://amule-adunanza.svn.sourceforge.net/svnroot/amule-adunanza/branches/mrhyde_again/
- _svnmod=mrhyde_again
- build() {
- cd ${srcdir}
- if [ -d ${_svnmod}/.svn ]; then
- (cd ${_svnmod} && svn up -r ${pkgver})
- else
- svn co ${_svntrunk} --config-dir ./ -r ${pkgver} ${_svnmod}
- fi
- msg "SVN checkout done or server timeout"
- msg "Starting make..."
- rm -rf "${srcdir}/${_svnmod}-build"
- cp -r ${_svnmod} ${_svnmod}-build
- cd ${_svnmod}-build
- ./autogen.sh
- ./configure --prefix=/usr \
- --mandir=/usr/share/man \
- --disable-upnp \
- # --enable-upnp \
- # if you enable upnp, you need to add 'libupnp' in dependencies array
- # and you must JUST AND ONLY comment the --disable-upnp switch
- # because by default, upnp is enabled
- # --enable-geoip \
- # if you enable geoip, you need to add 'geoip' in dependencies array
- # and you must uncomment the --enable-geoip switch
- # because by default, geoip is disabled
- # --enable-cas \
- # --enable-wxcas \
- # --enable-amule-daemon \
- # --enable-amulecmd \
- # --enable-webserver \
- # --enable-amule-gui \
- # --enable-alc \
- # --enable-alcc \
- # --enable-profile \
- --disable-debug \
- --enable-optimize
- make
- }
- package() {
- cd "${srcdir}/${_svnmod}-build"
- make DESTDIR="${pkgdir}/" install
- }
Advertisement
Add Comment
Please, Sign In to add comment