summaryrefslogtreecommitdiff
path: root/ldb/Pkgfile
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2018-11-22 14:50:55 +0100
committerJuergen Daubert <jue@jue.li>2018-11-22 14:50:55 +0100
commit9f4eabe1ef97decd28f8b078243afa0360a28b03 (patch)
treec553495c0a3f1754e1c7fc3e570e26fcac5aef18 /ldb/Pkgfile
parenta65653de9f7e6df57acff0978aa8b9cd471258b0 (diff)
downloadopt-9f4eabe1ef97decd28f8b078243afa0360a28b03.tar.gz
opt-9f4eabe1ef97decd28f8b078243afa0360a28b03.tar.xz
ldb: update to 1.4.3, closes FS#1691
Diffstat (limited to 'ldb/Pkgfile')
-rw-r--r--ldb/Pkgfile25
1 files changed, 17 insertions, 8 deletions
diff --git a/ldb/Pkgfile b/ldb/Pkgfile
index 0e2b1d720..964a028ac 100644
--- a/ldb/Pkgfile
+++ b/ldb/Pkgfile
@@ -1,18 +1,27 @@
-# Description: LDAP-like embedded database library
-# URL: http://ldb.samba.org/
-# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
-# Depends on: tevent tdb popt
+# Description: LDAP-like embedded database library
+# URL: http://ldb.samba.org/
+# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
+# Depends on: tevent tdb popt python
name=ldb
-version=1.1.29
-release=2
-source=(https://www.samba.org/ftp/$name/$name-$version.tar.gz)
+version=1.4.3
+release=1
+source=(https://www.samba.org/ftp/$name/$name-$version.tar.gz
+ $name-man-pages.tar.xz)
build() {
cd $name-$version
+
./configure \
--prefix=/usr \
- --bundled-libraries=NONE
+ --with-modulesdir=/usr/lib \
+ --bundled-libraries=cmocka \
+ --without-ldb-lmdb
+
make
make DESTDIR=$PKG install
+
+ install -d $PKG/usr/share/man/man{1,3}
+ install -m 0644 $SRC/*.1 $PKG/usr/share/man/man1
+ install -m 0644 $SRC/ldb.3 $PKG/usr/share/man/man3
}

Generated by cgit