summaryrefslogtreecommitdiffstats
path: root/ldb/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'ldb/Pkgfile')
-rwxr-xr-xldb/Pkgfile20
1 files changed, 20 insertions, 0 deletions
diff --git a/ldb/Pkgfile b/ldb/Pkgfile
new file mode 100755
index 0000000..a592533
--- /dev/null
+++ b/ldb/Pkgfile
@@ -0,0 +1,20 @@
+# Description: Bibliothèque de la base de donnée embarqué de SaMBa
+# URL: http://ldb.samba.org/
+# Maintainer: NuTyX core team
+# Packager: piernov <piernov@piernov.org>
+# Depends on: talloc, openldap, tevent, tdb
+# Run on: talloc,openldap,tevent,tdb
+
+name=ldb
+version=1.1.3
+release=1
+source=(http://www.samba.org/ftp/$name/$name-$version.tar.gz)
+
+build() {
+ cd $name-$version
+ sed "s|#!/usr/bin/env python|#!/usr/bin/env python2|" -i buildtools/bin/waf
+ ./configure --prefix=/usr \
+ --with-modulesdir=/usr/lib
+ make
+ make DESTDIR=$PKG install
+}