# Description: LDAP-like embedded database library
# URL: https://ldb.samba.org/
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: tevent tdb popt cmocka python3
# Optional: asciidoc

name=ldb
version=2.9.0
release=1
source=(https://www.samba.org/ftp/$name/$name-$version.tar.gz)

build() {
	cd $name-$version

	./configure \
		--prefix=/usr \
		--with-modulesdir=/usr/lib \
		--bundled-libraries=NONE \
		--without-ldb-lmdb

	make
	make DESTDIR=$PKG install
}
