wok rev 4272

Openldap: fix FSH
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 25 23:17:42 2009 +0200 (2009-09-25)
parents f49a55eb6ce7
children f0af3c539b04
files openldap/receipt
line diff
     1.1 --- a/openldap/receipt	Fri Sep 25 22:49:42 2009 +0200
     1.2 +++ b/openldap/receipt	Fri Sep 25 23:17:42 2009 +0200
     1.3 @@ -20,6 +20,7 @@
     1.4  	cd $src
     1.5  	./configure --prefix=/usr --infodir=/usr/share/info \
     1.6  		--sysconfdir=/etc --localstatedir=/var \
     1.7 +		--libexecdir=/usr/lib/$PACKAGE \
     1.8  		--mandir=/usr/share/man $CONFIGURE_ARGS
     1.9  	which soelim || find -name Makefile | xargs sed -i 's/soelim/cat/'
    1.10  	make CPPFLAGS=-D_GNU_SOURCE &&
    1.11 @@ -29,12 +30,12 @@
    1.12  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.13  genpkg_rules()
    1.14  {
    1.15 -	mkdir -p $fs/usr $fs/etc/ldap.d
    1.16 +	mkdir -p $fs/usr/lib $fs/etc/ldap.d
    1.17  	cp -a $_pkg/etc $fs
    1.18  	cp -a $_pkg/usr/bin $fs/usr
    1.19  	cp -a $_pkg/usr/sbin $fs/usr
    1.20 -	cp -a $_pkg/usr/libexec $fs/usr
    1.21 -	strip -s $fs/usr/libexec/*
    1.22 +	cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
    1.23 +	strip -s $fs/usr/lib/$PACKAGE/*
    1.24  	cp -a $_pkg/var $fs
    1.25  	cp -a stuff/etc/init.d $fs/etc
    1.26  	chmod 700 $fs/var/openldap-data $fs/etc/openldap