2010-11-21 16:44:55 +01:00
|
|
|
# Template build file for 'tdb'.
|
|
|
|
pkgname=tdb
|
2012-12-04 18:09:54 +01:00
|
|
|
version=1.2.11
|
2014-02-16 12:09:12 +01:00
|
|
|
revision=4
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2013-05-15 08:25:56 +02:00
|
|
|
hostmakedepends="pkg-config python libxslt docbook-xsl"
|
2010-11-21 16:44:55 +01:00
|
|
|
short_desc="Hierarchical pool based memory allocator with destructors"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-01-16 07:44:38 +01:00
|
|
|
license="GPL-3"
|
2012-10-23 22:58:36 +02:00
|
|
|
homepage="http://tdb.samba.org/"
|
|
|
|
distfiles="http://samba.org/ftp/tdb/tdb-$version.tar.gz"
|
2012-12-04 18:09:54 +01:00
|
|
|
checksum=f10eae6361b033131d2deebfcccbcaeb3d8006747005f5240d68e8b70632f6c2
|
2013-04-13 22:47:11 +02:00
|
|
|
|
2013-05-15 08:25:56 +02:00
|
|
|
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}
|
|
|
|
}
|
|
|
|
|
2013-04-13 22:47:11 +02:00
|
|
|
tdb-devel_package() {
|
|
|
|
depends="libtdb-${version}_${revision}"
|
2013-05-15 08:25:56 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 22:47:11 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-16 12:09:12 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 22:47:11 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libtdb_package() {
|
|
|
|
short_desc="Trivial Database - shared library"
|
|
|
|
pkg_install() {
|
2014-02-16 12:09:12 +01:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-13 22:47:11 +02:00
|
|
|
}
|
|
|
|
}
|