void-packages/srcpkgs/talloc/template
Juan RP 23dd7d008e Update build_style for all templates.
- There's no need to set build_style for custom-install (default).
- gnu_{configure,makefile} renamed to gnu-{configure,makefile}.
2011-10-24 14:14:47 +02:00

26 lines
850 B
Text

# Template build file for 'talloc'.
pkgname=talloc
version=2.0.1
distfiles="http://samba.org/ftp/$pkgname/$pkgname-$version.tar.gz"
build_style=gnu-configure
configure_args="--enable-talloc-compat1 --enable-largefile"
short_desc="Hierarchical pool based memory allocator with destructors"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=5b810527405f29d54f50efd78bf2c89e318f2cd8bed001f22f2a1412fd27c9b4
long_desc="
This package provides the talloc library: an hierarchical pool based memory
allocator with destructors."
subpackages="$pkgname-devel"
Add_dependency run glibc
Add_dependency build pkg-config
Add_dependency build libxslt
post_install()
{
cd ${DESTDIR}/usr/lib && \
ln -s libtalloc.so.${version} libtalloc.so.2.0 && \
ln -s libtalloc.so.${version} libtalloc.so.2 && \
ln -s libtalloc-compat1-${version}.so libtalloc.so.1
}