wok-6.x view 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 source
1 # SliTaz package receipt.
3 PACKAGE="db"
4 VERSION="4.5.20"
5 CATEGORY="system"
6 SHORT_DESC="Berkeley database system."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.NC.tar.gz"
9 WEB_SITE="http://www.oracle.com/technology/software/products/berkeley-db/db/"
10 WGET_URL="http://download.oracle.com/berkeley-db/$TARBALL"
11 BUILD_DEPENDS="patch"
12 DEPENDS="libdb"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
18 ln -s $PACKAGE-$VERSION.NC $src
19 cd $src
20 wget http://www.oracle.com/technology/products/berkeley-db/db/update/4.5.20/patch.4.5.20.1
21 patch -p0 < patch.4.5.20.1
22 cd build_unix
23 ../dist/configure --prefix=/usr --infodir=/usr/share/info \
24 --mandir=/usr/share/man $CONFIGURE_ARGS
25 make
26 make DESTDIR=$PWD/../_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $_pkg/usr/bin $fs/usr
34 # Package all db pkgs
35 for i in $(cd $WOK; ls -d db-* libdb)
36 do
37 tazwok genpkg $i
38 done
39 }