26 lines
821 B
Text
26 lines
821 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
|
||
|
|
||
|
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
|
||
|
|
||
|
}
|