46 lines
1.2 KiB
Bash
46 lines
1.2 KiB
Bash
# Template file for 'tdb'
|
|
pkgname=tdb
|
|
version=1.4.3
|
|
revision=2
|
|
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=c8058393dfa15f47e11ebd2f1d132693f0b3b3b8bf22d0201bfb305026f88a1b
|
|
|
|
export PYTHON_CONFIG="${XBPS_CROSS_BASE}/usr/bin/python3-config"
|
|
|
|
tdb-devel_package() {
|
|
depends="libtdb-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|
|
|
|
tdb-python3_package() {
|
|
short_desc+=" - Python3 bindings"
|
|
depends="python3"
|
|
pkg_install() {
|
|
vmove ${py3_lib}
|
|
}
|
|
}
|
|
|
|
libtdb_package() {
|
|
short_desc+=" - shared libraries"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|