diff options
author | Sibelle <lesibel@ree.fr> | 2010-05-17 14:10:33 +0200 |
---|---|---|
committer | Sibelle <lesibel@ree.fr> | 2010-05-17 14:10:33 +0200 |
commit | ef511880d74ce589ea598ed842bc3e2753934ad6 (patch) | |
tree | b5697309f14277bc17e5a47dfcac572a67af21ea /extra/libldap/Pkgfile | |
parent | fa269eac0ef5029d2a3ff885e7da5153b3b34a2d (diff) | |
parent | acbcb6921de8c5345a552b097c7b23fc130419c0 (diff) | |
download | nutyx-pakxe-ef511880d74ce589ea598ed842bc3e2753934ad6.tar.gz nutyx-pakxe-ef511880d74ce589ea598ed842bc3e2753934ad6.tar.bz2 nutyx-pakxe-ef511880d74ce589ea598ed842bc3e2753934ad6.tar.xz nutyx-pakxe-ef511880d74ce589ea598ed842bc3e2753934ad6.zip |
Merge remote branch 'nutyx-attapu/master'
Diffstat (limited to 'extra/libldap/Pkgfile')
-rw-r--r-- | extra/libldap/Pkgfile | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/extra/libldap/Pkgfile b/extra/libldap/Pkgfile new file mode 100644 index 000000000..fbeb94e15 --- /dev/null +++ b/extra/libldap/Pkgfile @@ -0,0 +1,69 @@ +# 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 + +name=libldap +version=2.4.21 +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 +} |