void-packages/srcpkgs/talloc/template

26 lines
820 B
Plaintext

# 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"
revision=2
makedepends="pkg-config libxslt docbook-xsl"
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"
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
}