45 lines
1.2 KiB
Bash
45 lines
1.2 KiB
Bash
# Template file for 'tdb'
|
|
pkgname=tdb
|
|
version=1.4.5
|
|
revision=1
|
|
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="https://download.samba.org/pub/tdb/tdb-${version}.tar.gz"
|
|
checksum=bcfced884f7031080998b5c4b1c5dce57567055f79417f86dba40dcde99a0e41
|
|
|
|
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.*"
|
|
}
|
|
}
|