summaryrefslogtreecommitdiffstats
path: root/extra/openldap/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-05-17 14:00:23 +0200
committertnut <thierryn1 at hispeed dot ch>2010-05-17 14:00:23 +0200
commitacbcb6921de8c5345a552b097c7b23fc130419c0 (patch)
tree0244e3456b0a78a92034f4ac855f43e69881e389 /extra/openldap/Pkgfile
parentd8fded2c6d736fa945ccf61564047b2bf0844ee6 (diff)
downloadnutyx-pakxe-acbcb6921de8c5345a552b097c7b23fc130419c0.tar.gz
nutyx-pakxe-acbcb6921de8c5345a552b097c7b23fc130419c0.tar.bz2
nutyx-pakxe-acbcb6921de8c5345a552b097c7b23fc130419c0.tar.xz
nutyx-pakxe-acbcb6921de8c5345a552b097c7b23fc130419c0.zip
openldap, séparation librairies et service
Diffstat (limited to 'extra/openldap/Pkgfile')
-rw-r--r--extra/openldap/Pkgfile10
1 files changed, 6 insertions, 4 deletions
diff --git a/extra/openldap/Pkgfile b/extra/openldap/Pkgfile
index c7700eeeb..24ca952ea 100644
--- a/extra/openldap/Pkgfile
+++ b/extra/openldap/Pkgfile
@@ -2,11 +2,11 @@
# URL: http://www.openldap.org
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on: cyrus-sasl
+# Depends on: libldap
name=openldap
version=2.4.21
-release=1
+release=2
source=(ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/$name-$version.tgz)
build() {
@@ -50,7 +50,7 @@ build() {
--enable-shared
make depend
- make -j3
+ make
make DESTDIR=$PKG install
sed -i -e "s|-L${PKG}/usr/lib||g" $PKG/usr/lib/*.la
@@ -64,6 +64,8 @@ build() {
# Installation of the script
cd ../$scripts-$scriptsversion
make DESTDIR=$PKG install-openldap1
-
+ # Suppress files from libldap
+ rm -r $PKG/usr/share/man/man{3,5}
+ rm -r $PKG/usr/{lib,include}
rm -f $PKG/etc/openldap/schema/README
}