wok-6.x diff openldap/receipt @ rev 1155
Add openldap
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 27 09:18:17 2008 +0000 (2008-07-27) |
parents | |
children | fad639db2f59 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/openldap/receipt Sun Jul 27 09:18:17 2008 +0000 1.3 @@ -0,0 +1,42 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="openldap" 1.7 +VERSION="2.3.39" 1.8 +CATEGORY="system" 1.9 +SHORT_DESC="LDAP database system." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-stable-20071118.tgz" 1.12 +WEB_SITE="http://www.openldap.org/" 1.13 +WGET_URL="ftp://ftp.openldap.org/pub/OpenLDAP/$PACKAGE-stable/$TARBALL" 1.14 +DEPENDS="libdb" 1.15 +BUILD_DEPENDS="db-dev" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + 1.21 + cd $src 1.22 + ./configure --prefix=/usr --infodir=/usr/share/info \ 1.23 + --sysconfdir=/etc --localstatedir=/var \ 1.24 + --mandir=/usr/share/man $CONFIGURE_ARGS 1.25 + make 1.26 + make DESTDIR=$PWD/_pkg install 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + mkdir -p $fs/usr 1.33 + cp -a $_pkg/etc $fs 1.34 + cp -a $_pkg/usr/bin $fs/usr 1.35 + cp -a $_pkg/usr/sbin $fs/usr 1.36 + cp -a $_pkg/usr/libexec $fs/usr 1.37 + cp -a $_pkg/var $fs 1.38 + cp -a stuff/etc/init.d $fs/etc 1.39 + chmod 700 $fs/var/openldap-data $fs/etc/openldap 1.40 + # Package all mysql pkgs 1.41 + for i in $(cd $WOK; ls -d openldap-* libldap*) 1.42 + do 1.43 + tazwok genpkg $i 1.44 + done 1.45 +}