Added talloc-2.0.1 build template.

This commit is contained in:
Juan RP 2010-10-22 03:58:24 +02:00
parent 6cefb6b941
commit 2b1c03f94f
5 changed files with 46 additions and 0 deletions

1
srcpkgs/talloc-devel Symbolic link
View file

@ -0,0 +1 @@
talloc

2
srcpkgs/talloc/depends Normal file
View file

@ -0,0 +1,2 @@
abi_depends=">=2.0.1"
api_depends="${abi_depends}"

View file

@ -0,0 +1,17 @@
# Template file for 'talloc-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run pkg-config
Add_dependency run glibc-devel
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/{include,share} ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
}

25
srcpkgs/talloc/template Normal file
View file

@ -0,0 +1,25 @@
# 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
}

View file

@ -646,3 +646,4 @@ libopen-rte.so openmpi openmpi-devel
libmtp.so libmtp libmtp-devel
libelf.so libelf libelf-devel
libgtksourceview-2.0.so gtksourceview gtksourceview-devel
libtalloc.so talloc talloc-devel