void-packages/srcpkgs/talloc/template

27 lines
850 B
Text
Raw Normal View History

2010-10-22 01:58:24 +00:00
# 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
2011-07-03 00:01:57 +00:00
Add_dependency build libxslt
2010-10-22 01:58:24 +00:00
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
}