Added tdb-1.2.2 build template.

This commit is contained in:
Juan RP 2010-11-21 16:44:55 +01:00
parent 97f6c7939a
commit a71ba2eeb1
9 changed files with 80 additions and 0 deletions

1
srcpkgs/libtdb Symbolic link
View file

@ -0,0 +1 @@
tdb

1
srcpkgs/tdb-devel Symbolic link
View file

@ -0,0 +1 @@
tdb

1
srcpkgs/tdb-python Symbolic link
View file

@ -0,0 +1 @@
tdb

2
srcpkgs/tdb/depends Normal file
View file

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

View file

@ -0,0 +1,14 @@
# Template file for 'libtdb'.
#
short_desc="Trivial Database - shared library"
long_desc="${long_desc}
This package contains the shared library file."
Add_dependency run glibc
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.so* ${DESTDIR}/usr/lib
}

View file

@ -0,0 +1,18 @@
# Template file for 'tdb-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 python
Add_dependency run libtdb
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
}

View file

@ -0,0 +1,16 @@
# Template file for 'tdb-python'.
#
short_desc="Trivial Database - python bindings"
long_desc="${long_desc}
This package contains the Python bindings to the libtdb."
Add_dependency run glibc
Add_dependency run libtdb
Add_dependency run python
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/python* ${DESTDIR}/usr/lib
}

26
srcpkgs/tdb/template Normal file
View file

@ -0,0 +1,26 @@
# Template build file for 'tdb'.
pkgname=tdb
version=1.2.2
distfiles="http://samba.org/ftp/tdb/tdb-$version.tar.gz"
build_style=gnu_configure
short_desc="Hierarchical pool based memory allocator with destructors"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=faee3dbb5c0af896c98f5edf3ab68b2ed9bc4992376666f2cd502873a1b2f892
long_desc="
This is a simple database API. It is modelled after the structure of GDBM.
TDB features, unlike GDBM, multiple writers support with appropriate locking
and transactions."
subpackages="libtdb tdb-devel tdb-python"
Add_dependency run glibc
Add_dependency run libtdb
Add_dependency build pkg-config
Add_dependency build automake
Add_dependency build python
pre_configure()
{
cd ${wrksrc} && ./autogen.sh
}

View file

@ -707,3 +707,4 @@ libgladeui-1.so libgladeui glade3-devel
libgstphotography-0.10.so gst-plugins-bad gst-plugins-bad-devel
libgstbasevideo-0.10.so gst-plugins-bad gst-plugins-bad-devel
libgstsignalprocessor-0.10.so gst-plugins-bad gst-plugins-bad-devel
libtdb.so libtdb tdb-devel