wok diff db/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 | 98a84b65417d |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/db/receipt Sun Jul 27 09:18:17 2008 +0000 1.3 @@ -0,0 +1,39 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="db" 1.7 +VERSION="4.5.20" 1.8 +CATEGORY="system" 1.9 +SHORT_DESC="Berkeley database system." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.NC.tar.gz" 1.12 +WEB_SITE="http://www.oracle.com/technology/software/products/berkeley-db/db/" 1.13 +WGET_URL="http://download.oracle.com/berkeley-db/$TARBALL" 1.14 +BUILD_DEPENDS="patch" 1.15 +DEPENDS="libdb" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + 1.21 + ln -s $PACKAGE-$VERSION.NC $src 1.22 + cd $src 1.23 + wget http://www.oracle.com/technology/products/berkeley-db/db/update/4.5.20/patch.4.5.20.1 1.24 + patch -p0 < patch.4.5.20.1 1.25 + cd build_unix 1.26 + ../dist/configure --prefix=/usr --infodir=/usr/share/info \ 1.27 + --mandir=/usr/share/man $CONFIGURE_ARGS 1.28 + make 1.29 + make DESTDIR=$PWD/../_pkg install 1.30 +} 1.31 + 1.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 +genpkg_rules() 1.34 +{ 1.35 + mkdir -p $fs/usr 1.36 + cp -a $_pkg/usr/bin $fs/usr 1.37 + # Package all db pkgs 1.38 + for i in $(cd $WOK; ls -d db-* libdb) 1.39 + do 1.40 + tazwok genpkg $i 1.41 + done 1.42 +}