2010-11-21 15:44:55 +00:00
|
|
|
# Template build file for 'tdb'.
|
|
|
|
pkgname=tdb
|
|
|
|
version=1.2.2
|
|
|
|
distfiles="http://samba.org/ftp/tdb/tdb-$version.tar.gz"
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2011-11-14 17:12:47 +00:00
|
|
|
revision=2
|
2010-11-21 15:44:55 +00:00
|
|
|
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 build pkg-config
|
|
|
|
Add_dependency build automake
|
2011-07-03 00:56:23 +00:00
|
|
|
Add_dependency build python-devel
|
2011-07-02 23:55:30 +00:00
|
|
|
Add_dependency build libxslt
|
2011-11-16 14:37:17 +00:00
|
|
|
Add_dependency build docbook-xsl
|
2010-11-21 15:44:55 +00:00
|
|
|
|
2011-11-16 14:37:17 +00:00
|
|
|
pre_configure() {
|
|
|
|
./autogen.sh
|
2010-11-21 15:44:55 +00:00
|
|
|
}
|
2010-11-21 16:07:22 +00:00
|
|
|
|
2011-11-16 14:37:17 +00:00
|
|
|
post_install() {
|
2010-11-21 16:07:22 +00:00
|
|
|
# _PUBLIC_ is only defined internally!
|
|
|
|
sed -i -e "s|_PUBLIC_ ||g" ${DESTDIR}/usr/include/tdb.h
|
|
|
|
}
|