summaryrefslogtreecommitdiffstats
path: root/libldap/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-05-13 21:25:08 +0200
committerpiernov <piernov@piernov.org>2012-05-13 21:25:08 +0200
commitf35fb119bf993d3454668f50a17334e09b77160b (patch)
tree9f1d840f10e24848f8b94eb9c5c4e811e0984232 /libldap/Pkgfile
parent2814457a550d6a14e6134ac4c06b1f96a92d2061 (diff)
parent933ac25d27eb5fa5f8f983ab8ac8d507e773c044 (diff)
downloadnutyx-pakxe-f35fb119bf993d3454668f50a17334e09b77160b.tar.gz
nutyx-pakxe-f35fb119bf993d3454668f50a17334e09b77160b.tar.bz2
nutyx-pakxe-f35fb119bf993d3454668f50a17334e09b77160b.tar.xz
nutyx-pakxe-f35fb119bf993d3454668f50a17334e09b77160b.zip
Merge branch 'master' of http://kiao.no-ip.info/NuTyX/git/nutyx-pakxe
Diffstat (limited to 'libldap/Pkgfile')
-rw-r--r--libldap/Pkgfile71
1 files changed, 71 insertions, 0 deletions
diff --git a/libldap/Pkgfile b/libldap/Pkgfile
new file mode 100644
index 000000000..1ae60481e
--- /dev/null
+++ b/libldap/Pkgfile
@@ -0,0 +1,71 @@
+# Description: Outil permettant d'accéder au protocol LDAP
+# URL: http://www.openldap.org
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: cyrus-sasl
+# Run on: cyrus-sasl
+
+name=libldap
+version=2.4.26
+release=1
+source=(ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-$version.tgz)
+
+build() {
+ cd openldap-$version
+ export CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/sbin \
+ --mandir=/usr/share/man \
+ --localstatedir=/var/openldap \
+ --disable-nls \
+ --enable-syslog \
+ --with-threads \
+ --with-tls \
+ --with-cyrus-sasl \
+ --enable-spasswd \
+ --enable-dynamic \
+ --enable-ipv6 \
+ --enable-modules \
+ --enable-crypt \
+ --enable-rewrite \
+ --disable-ldbm \
+ --disable-bdb \
+ --disable-hdb \
+ --enable-ldap \
+ --enable-meta \
+ --enable-monitor \
+ --enable-dnssrv \
+ --enable-null \
+ --enable-perl \
+ --with-dyngroup \
+ --with-proxycache \
+ --enable-wrappers \
+ --enable-aci \
+ --enable-dynamic
+ cd include
+ make
+ make DESTDIR=$PKG install
+
+ cd ../libraries
+ make depend
+ make
+ make DESTDIR=$PKG install
+
+ cd ../doc/man/man3
+ make
+ make DESTDIR=$PKG install
+
+ cd ../man5
+ make
+ make DESTDIR=$PKG install
+
+ # compatiblity links
+ (cd $PKG/usr/lib;
+ ln -s liblber.so liblber.so.2;
+ ln -s libldap.so libldap.so.2;
+ ln -s libldap_r.so libldap_r.so.2) || exit 1
+ rm -r $PKG/etc
+}
+