wok diff openldap/receipt @ rev 4831

Up: beaver (0.4.0rc1) - Add custom config file, may replace geany has code editor
author Christophe Lincoln <pankso@slitaz.org>
date Thu Jan 21 23:14:05 2010 +0100 (2010-01-21)
parents f49a55eb6ce7
children 5b44af8c1257
line diff
     1.1 --- a/openldap/receipt	Fri Sep 25 22:49:42 2009 +0200
     1.2 +++ b/openldap/receipt	Thu Jan 21 23:14:05 2010 +0100
     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