tdb: update to 1.4.3.

This commit is contained in:
Andrew J. Hesford 2020-12-13 15:45:32 -05:00
parent 7d68e8f4d2
commit 37e34a474c
3 changed files with 23 additions and 60 deletions

1
srcpkgs/tdb-python3 Symbolic link
View file

@ -0,0 +1 @@
tdb

View file

@ -1,46 +0,0 @@
Checking uname sysname type: "Linux"
Checking uname machine type: "@@XBPS_TARGET_MACHINE@@"
Checking uname release type: "ok"
Checking uname version type: "ok"
Checking simple C program: "ok"
building library support: "ok"
Checking for large file support: "ok"
Checking for -D_FILE_OFFSET_BITS=64: "ok"
Checking for WORDS_BIGENDIAN: "ok"
Checking size of char: "1"
Checking size of int: "4"
Checking size of long long: "4"
Checking size of long: "4"
Checking size of off_t: "4"
Checking size of short: "2"
Checking size of size_t: "4"
Checking size of ssize_t: "4"
Checking size of dev_t: "4"
Checking size of ino_t: "4"
Checking size of time_t: "4"
Checking size of void*: "4"
Checking for C99 vsnprintf: OK
Checking for HAVE_SECURE_MKSTEMP: OK
rpath library support: OK
-Wl,--version-script support: OK
Checking size of bool: "1"
Checking size of int8_t: "1"
Checking size of uint8_t: "1"
Checking size of int16_t: "2"
Checking size of uint16_t: "2"
Checking size of int32_t: "4"
Checking size of uint32_t: "4"
Checking size of int64_t: "4"
Checking size of uint64_t: "4"
Checking correct behavior of strtoll: OK
Checking correct behavior of strptime: OK
Checking for HAVE_IFACE_GETIFADDRS: OK
Checking for HAVE_IFACE_IFCONF: OK
Checking for HAVE_IFACE_IFREQ: OK
Checking getconf LFS_CFLAGS: OK
Checking for large file support without additional flags: OK
Checking for working strptime: OK
Checking for HAVE_SHARED_MMAP: OK
Checking for HAVE_MREMAP: OK
Checking for HAVE_INCOHERENT_MMAP: OK
Checking getconf large file support flags work: OK

View file

@ -1,24 +1,23 @@
# Template file for 'tdb'
pkgname=tdb
version=1.3.16
version=1.4.3
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config python libxslt docbook-xsl"
short_desc="A Trivial Database similar to GDBM but allows simultaneous commits"
build_style=waf3
build_helper="qemu"
configure_script="buildtools/bin/waf"
configure_args="--prefix=/usr --libdir=/usr/lib --sysconfdir=/etc
--localstatedir=/var --disable-rpath --disable-rpath-install
--builtin-libraries=replace --bundled-libraries=NONE --without-gettext"
hostmakedepends="pkg-config docbook2x"
makedepends="python3-devel libxslt gettext-devel"
short_desc="Trivial Database, similar to GDBM but allows simultaneous commits"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://tdb.samba.org/"
distfiles="http://samba.org/ftp/tdb/tdb-${version}.tar.gz"
checksum=6a3fc2616567f23993984ada3cea97d953a27669ffd1bfbbe961f26e0cf96cc5
checksum=c8058393dfa15f47e11ebd2f1d132693f0b3b3b8bf22d0201bfb305026f88a1b
do_configure() {
if [ "$CROSS_BUILD" ]; then
cp ${FILESDIR}/cross-32bit.answers .
sed -i "s,@@XBPS_TARGET_MACHINE@@,$XBPS_TARGET_MACHINE,g" cross-32bit.answers
_args="--cross-compile --hostcc=cc --cross-answers=cross-32bit.answers"
fi
./configure --prefix=/usr --disable-python ${_args}
}
export PYTHON_CONFIG="${XBPS_CROSS_BASE}/usr/bin/python3-config"
tdb-devel_package() {
depends="libtdb-${version}_${revision}"
@ -29,8 +28,17 @@ tdb-devel_package() {
vmove "usr/lib/*.so"
}
}
tdb-python3_package() {
short_desc+=" - Python3 bindings"
depends="python3"
pkg_install() {
vmove ${py3_lib}
}
}
libtdb_package() {
short_desc="Trivial Database - shared library"
short_desc+=" - shared libraries"
pkg_install() {
vmove "usr/lib/*.so.*"
}