wok-6.x view db/receipt @ rev 1632

e2fsprogs: not common files with libcomerr
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 23 20:32:09 2008 +0000 (2008-10-23)
parents fd4eda949f1e
children 749730241669
line source
1 # SliTaz package receipt.
3 PACKAGE="db"
4 VERSION="4.5.20"
5 CATEGORY="misc"
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 || return 1
21 [ -f done.patch.4.5.20.1 ] || patch -p0 < patch.4.5.20.1
22 touch done.patch.4.5.20.1
23 cd build_unix
24 ../dist/configure --prefix=/usr --infodir=/usr/share/info \
25 --mandir=/usr/share/man $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/../_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $_pkg/usr/bin $fs/usr
35 # Package all db pkgs
36 for i in $(cd $WOK; ls -d db-* libdb)
37 do
38 tazwok genpkg $i
39 done
40 }
42 clean_wok()
43 {
44 rm -rf PACKAGE-$VERSION.NC
45 }