Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2015
223
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # itsol!
  2.  
  3. pkgname=pear-net-ldap2
  4. _pkgname=Net_LDAP2
  5. pkgver=2.1.0
  6. pkgrel=1
  7. pkgdesc="Object oriented interface for searching and manipulating LDAP-entries"
  8. url=http://pear.php.net/package/$_pkgname
  9. arch=('any')
  10. license=('PHP')
  11. depends=('php-ldap')
  12. makedepends=('php-pear')
  13. source=(http://download.pear.php.net/package/$_pkgname-$pkgver.tgz)
  14. noextract=($_pkgname-$pkgver.tgz)
  15. md5sums=('d2297dc542e25f7cc998865504a14c4d')
  16.  
  17. package() {
  18. cd ${srcdir}
  19. local _PEARDIR="${pkgdir}/usr/share/pear"
  20. local _PEAROPTS="-D php_dir=${_PEARDIR} -D doc_dir=${_PEARDIR}/doc"
  21. local _PEAROPTS="${_PEAROPTS} -D test_dir=${_PEARDIR}/test"
  22. local _PEAROPTS="${_PEAROPTS} -D data_dir=${_PEARDIR}/data"
  23. pear ${_PEAROPTS} install -O -n ${_pkgname}-${pkgver}.tgz
  24. rm -r ${_PEARDIR}/{.channels,.depdb*,.filemap,.lock,.registry}
  25. }
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement