compat-32/talloc-32/Pkgfile
2012-11-21 11:12:43 -06:00

34 lines
772 B
Plaintext

# Description: Hierarchical, reference counted memory pool system with destructors
# URL: http://talloc.samba.org/
# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
# Depends on: python-32 talloc
name=talloc-32
version=2.0.7
release=2
source=(ftp://ftp.samba.org/pub/talloc/talloc-$version.tar.gz
talloc.3)
build() {
cd talloc-$version
./configure --prefix=/usr \
--mandir=/usr/man \
--libdir=/usr/lib32 \
--enable-talloc-compat1
# Don't depend on xsltproc or docbook.sourceforge.net being available
cp $SRC/talloc.3 .
touch talloc.3 talloc.3.html
make
make install DESTDIR=$PKG
mv $PKG/usr/lib/* $PKG/usr/lib32/
rmdir $PKG/usr/lib
install -d $PKG/usr/man/man3
install -m 644 talloc.3 $PKG/usr/man/man3
rm -rf $PKG/usr/{include,man}
}