Advertisement
Guest User

lib32-tevent

a guest
Jan 10th, 2016
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. # Maintainer: Mark Weiman <mark dot weiman at markzz dot com>
  2.  
  3. _pkgname=tevent
  4. pkgname=lib32-${_pkgname}
  5. pkgver=0.9.26
  6. pkgrel=1
  7. pkgdesc="An event system based on the talloc memory management library (lib32)"
  8. arch=('x86_64')
  9. url="https://tevent.samba.org"
  10. source=("http://samba.org/ftp/tevent/${_pkgname}-${pkgver}.tar.gz")
  11. license=('GPL3')
  12. depends=('lib32-talloc')
  13. makedepends=('python2')
  14. optdepends=('python2: for python bindings')
  15. md5sums=('22c372f3d936d751271f588ab71f829b')
  16.  
  17. build() {
  18. cd ${srcdir}/${_pkgname}-${pkgver}
  19.  
  20. export CC="gcc -m32"
  21. export CXX="g++ -m32"
  22. export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
  23.  
  24. sed -i -e "s|/usr/bin/env python$|/usr/bin/env python2|" buildtools/bin/waf
  25.  
  26. export PYTHON=/usr/bin/python2
  27.  
  28. ./configure --prefix=/usr \
  29. --libdir=/usr/lib32 \
  30. --bundled-libraries=NONE \
  31. --builtin-libraries=replace \
  32. --disable-python
  33. make
  34. }
  35.  
  36. package() {
  37. cd ${srcdir}/${_pkgname}-${pkgver}
  38.  
  39. make DESTDIR=${pkgdir}/ install
  40.  
  41. rm -rf ${pkgdir}/usr/{include,share}
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement