wok-current view db/receipt @ rev 5895

gnome-doc-utils: fix DEPENDS.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Jul 23 11:11:25 2010 +0200 (2010-07-23)
parents df122542409d
children b75f20fcc427
line source
1 # SliTaz package receipt.
3 PACKAGE="db"
4 VERSION="4.7.25"
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="slitaz-toolchain patch"
12 DEPENDS="glibc-base libdb"
13 TAGS="database"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 mv $PACKAGE-$VERSION.NC $src
19 cd $src
20 cd build_unix
21 ../dist/configure \
22 --enable-compat185 \
23 --prefix=/usr \
24 --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 }