This commit is contained in:
Manuel 2012-12-17 23:21:01 +00:00
parent f349fc3990
commit 4f83c730ba

43
lib32-talloc/PKGBUILD Normal file
View File

@ -0,0 +1,43 @@
# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
_pkgbasename=talloc
pkgname=lib32-$_pkgbasename
pkgver=2.0.8
pkgrel=1
pkgdesc="talloc is a hierarchical pool based memory allocator with destructors (32-bit)"
arch=(x86_64)
license=('GPL3')
url="http://talloc.samba.org/"
source=(http://samba.org/ftp/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz)
depends=('lib32-glibc' $_pkgbasename)
makedepends=(gcc-multilib)
md5sums=('7857200b58a8617ca18fe2c91296cd93')
build() {
export CC="gcc -m32"
cd ${srcdir}/${_pkgbasename}-${pkgver}
sed -i -e 's#python#python2#g' buildtools/bin/waf
./configure --prefix=/usr \
--disable-python \
--sysconfdir=/etc/samba \
--localstatedir=/var \
--enable-talloc-compat1 \
--libdir=/usr/lib32
make
}
package() {
cd ${srcdir}/talloc-${pkgver}
make DESTDIR=$pkgdir/ install
rm -rf "$pkgdir/usr/include"
rm -rf "$pkgdir/usr/share"
}