39 lines
981 B
Plaintext
39 lines
981 B
Plaintext
# Template build file for 'tdb'.
|
|
pkgname=tdb
|
|
version=1.3.3
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config python 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=54deada2ef37127efdb1bc67b281c72fa973430b1c6ffe47929296e8f73b4f0e
|
|
nocross=yes
|
|
|
|
do_configure() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
cp ${FILESDIR}/cross-32bit.answers .
|
|
_args="--cross-compile --hostcc=cc --cross-answers=cross-32bit.answers"
|
|
fi
|
|
./configure --prefix=/usr --disable-python ${_args}
|
|
}
|
|
|
|
tdb-devel_package() {
|
|
depends="libtdb-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|
|
|
|
libtdb_package() {
|
|
short_desc="Trivial Database - shared library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|