compat-32/talloc-32/Pkgfile
2019-03-05 22:15:41 +11:00

34 lines
731 B
Plaintext

# Description: Hierarchical, reference counted memory pool system with destructors
# URL: https://talloc.samba.org/
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
# Depends on: python-32 talloc
name=talloc-32
version=2.1.16
release=1
source=(https://samba.org/ftp/${name%-*}/${name%-*}-$version.tar.gz)
build() {
cd ${name%-*}-$version
sed '/^WAF_BINARY/s|../.||' -i Makefile
export PYTHON=python2
./configure \
--prefix=/usr \
--libdir=/usr/lib32 \
--bundled-libraries=NONE \
--enable-talloc-compat1
make
make install DESTDIR=$PKG
mv $PKG/usr/lib/* $PKG/usr/lib32/
rmdir $PKG/usr/lib
rm -r $PKG/usr/include
# remove man pages when docbook-xsl is installed
rm -rf $PKG/usr/share/man
}