Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer: Mark Weiman <mark dot weiman at markzz dot com>
- _pkgname=tevent
- pkgname=lib32-${_pkgname}
- pkgver=0.9.26
- pkgrel=1
- pkgdesc="An event system based on the talloc memory management library (lib32)"
- arch=('x86_64')
- url="https://tevent.samba.org"
- source=("http://samba.org/ftp/tevent/${_pkgname}-${pkgver}.tar.gz")
- license=('GPL3')
- depends=('lib32-talloc')
- makedepends=('python2')
- optdepends=('python2: for python bindings')
- md5sums=('22c372f3d936d751271f588ab71f829b')
- build() {
- cd ${srcdir}/${_pkgname}-${pkgver}
- export CC="gcc -m32"
- export CXX="g++ -m32"
- export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
- sed -i -e "s|/usr/bin/env python$|/usr/bin/env python2|" buildtools/bin/waf
- export PYTHON=/usr/bin/python2
- ./configure --prefix=/usr \
- --libdir=/usr/lib32 \
- --bundled-libraries=NONE \
- --builtin-libraries=replace \
- --disable-python
- make
- }
- package() {
- cd ${srcdir}/${_pkgname}-${pkgver}
- make DESTDIR=${pkgdir}/ install
- rm -rf ${pkgdir}/usr/{include,share}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement