1 # $Id: PKGBUILD 58087 2011-11-06 13:20:34Z lcarlier $
2 # Maintainer: Tobias Powalowski <tpowa@archlinux.org>
5 pkgname=lib32-$_pkgbasename
8 pkgdesc="A hierarchical pool based memory allocator with destructors (32-bit)"
11 url="http://talloc.samba.org/"
12 source=(http://samba.org/ftp/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz)
13 depends=('lib32-glibc' $_pkgbasename)
14 makedepends=('gcc-multilib' 'python2')
15 md5sums=('dbfb3146f4cc47054e13b8a2988299f9')
20 cd ${srcdir}/${_pkgbasename}-${pkgver}
22 sed -i -e 's#python#python2#g' buildtools/bin/waf
24 ./configure --prefix=/usr \
26 --sysconfdir=/etc/samba \
27 --localstatedir=/var \
28 --enable-talloc-compat1 \
35 cd ${srcdir}/${_pkgbasename}-${pkgver}
37 make DESTDIR=$pkgdir/ install
39 rm -rf $pkgdir/usr/include