| 1 | # Description: LDAP-like embedded database library |
| 2 | # URL: http://ldb.samba.org/ |
| 3 | # Maintainer: Juergen Daubert, jue at crux dot nu |
| 4 | # Depends on: tevent tdb popt python3 |
| 5 | |
| 6 | name=ldb |
| 7 | version=1.5.6 |
| 8 | release=1 |
| 9 | source=(https://www.samba.org/ftp/$name/$name-$version.tar.gz |
| 10 | $name-man-pages.tar.xz) |
| 11 | |
| 12 | build() { |
| 13 | cd $name-$version |
| 14 | |
| 15 | ./configure \ |
| 16 | --prefix=/usr \ |
| 17 | --with-modulesdir=/usr/lib \ |
| 18 | --bundled-libraries=cmocka \ |
| 19 | --without-ldb-lmdb |
| 20 | |
| 21 | make |
| 22 | make DESTDIR=$PKG install |
| 23 | |
| 24 | install -d $PKG/usr/share/man/man{1,3} |
| 25 | install -m 0644 $SRC/*.1 $PKG/usr/share/man/man1 |
| 26 | install -m 0644 $SRC/ldb.3 $PKG/usr/share/man/man3 |
| 27 | } |