Guest User

Untitled

a guest
Aug 22nd, 2011
375
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.81 KB | None | 0 0
  1. # Mainteiner: ntia89 <[email protected]>
  2. # Contributor: Andrea Scarpino <[email protected]>
  3. # Contributor: erm67
  4. # Contributor: ntia89
  5.  
  6. pkgname=amule-adnza-svn
  7. pkgver=288
  8. pkgrel=4
  9. pkgdesc='aMule patched for Fastweb Network (Italy) by Adunanza forum - SVN'
  10. url='http://www.adunanza.net/'
  11. license=('GPL')
  12. arch=('i686' 'x86_64')
  13. depends=('wxgtk' 'gd' 'crypto++')
  14. makedepends=('subversion' 'cvs' 'perl')
  15. conflicts=('amule' 'amule-adnza')
  16. provides=('amule')
  17. source=()
  18. md5sums=()
  19.  
  20. _svntrunk=https://amule-adunanza.svn.sourceforge.net/svnroot/amule-adunanza/branches/mrhyde_again/
  21. _svnmod=mrhyde_again
  22.  
  23. build() {
  24.   cd ${srcdir}
  25.  
  26.   if [ -d ${_svnmod}/.svn ]; then
  27.     (cd ${_svnmod} && svn up -r ${pkgver})
  28.   else
  29.     svn co ${_svntrunk} --config-dir ./ -r ${pkgver} ${_svnmod}
  30.   fi
  31.  
  32.   msg "SVN checkout done or server timeout"
  33.   msg "Starting make..."
  34.  
  35.   rm -rf "${srcdir}/${_svnmod}-build"
  36.   cp -r ${_svnmod} ${_svnmod}-build
  37.   cd ${_svnmod}-build
  38.  
  39.   ./autogen.sh
  40.   ./configure --prefix=/usr \
  41.     --mandir=/usr/share/man \
  42.     --disable-upnp \
  43.  
  44. #    --enable-upnp \
  45. # if you enable upnp, you need to add 'libupnp' in dependencies array
  46. # and you must JUST AND ONLY comment the --disable-upnp switch
  47. # because by default, upnp is enabled
  48.  
  49. #    --enable-geoip \
  50. # if you enable geoip, you need to add 'geoip' in dependencies array
  51. # and you must uncomment the --enable-geoip switch
  52. # because by default, geoip is disabled
  53.  
  54. #    --enable-cas \
  55. #    --enable-wxcas \
  56. #    --enable-amule-daemon \
  57. #    --enable-amulecmd \
  58. #    --enable-webserver \
  59. #    --enable-amule-gui \
  60. #    --enable-alc \
  61. #    --enable-alcc \
  62.  
  63. #    --enable-profile \
  64.  
  65.     --disable-debug \
  66.     --enable-optimize
  67.   make
  68. }
  69.  
  70. package() {
  71.   cd "${srcdir}/${_svnmod}-build"
  72.   make DESTDIR="${pkgdir}/" install
  73. }
Advertisement
Add Comment
Please, Sign In to add comment