46 lines
1.1 KiB
Plaintext
46 lines
1.1 KiB
Plaintext
# Template build file for 'tdb'.
|
|
pkgname=tdb
|
|
version=1.2.11
|
|
revision=2
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config python-devel libxslt docbook-xsl"
|
|
short_desc="Hierarchical pool based memory allocator with destructors"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="GPL-3"
|
|
homepage="http://tdb.samba.org/"
|
|
distfiles="http://samba.org/ftp/tdb/tdb-$version.tar.gz"
|
|
checksum=f10eae6361b033131d2deebfcccbcaeb3d8006747005f5240d68e8b70632f6c2
|
|
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."
|
|
|
|
tdb-devel_package() {
|
|
depends="libtdb-${version}_${revision}"
|
|
short_desc="${short_desc} - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|
|
|
|
libtdb_package() {
|
|
short_desc="Trivial Database - shared library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so*"
|
|
}
|
|
}
|
|
|
|
tdb-python_package() {
|
|
short_desc="Trivial Database - python bindings"
|
|
pkg_install() {
|
|
vmove "usr/lib/python*"
|
|
}
|
|
}
|
|
|
|
tdb_package() {
|
|
pkg_install() {
|
|
vmove usr
|
|
}
|
|
}
|