mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-20 20:06:41 +02:00
52 lines
1.1 KiB
Text
52 lines
1.1 KiB
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=tdb
|
|
pkgver=1.4.12
|
|
pkgrel=0
|
|
pkgdesc="The tdb library"
|
|
url="https://tdb.samba.org/"
|
|
arch="all"
|
|
license="LGPL-3.0-or-later"
|
|
depends_dev="python3"
|
|
makedepends="$depends_dev python3-dev docbook-xsl"
|
|
subpackages="$pkgname-dev py3-$pkgname:_py3
|
|
$pkgname-libs $pkgname-doc"
|
|
source="https://samba.org/ftp/tdb/tdb-$pkgver.tar.gz"
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--localstatedir=/var \
|
|
--disable-rpath \
|
|
--bundled-libraries=NONE \
|
|
--builtin-libraries=replace
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
_py3() {
|
|
pkgdesc="Python 3 binding for the tdb library"
|
|
|
|
mkdir -p "$subpkgdir"/usr/lib
|
|
mv "$pkgdir"/usr/lib/python3* "$subpkgdir"/usr/lib/
|
|
}
|
|
|
|
libs() {
|
|
default_libs
|
|
replaces="tdb"
|
|
}
|
|
|
|
sha512sums="
|
|
f41644ae29da7fed26959e4f2e3664e58ec65681b0b7115fbb296a7a8c5642c8190dac6e16e5704b322469466dd5aa15c1f7f72df8226ac9c695b5b10ac85b66 tdb-1.4.12.tar.gz
|
|
"
|