wok view db/receipt @ rev 4747

Up: espeak (1.42.04)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Jan 08 12:20:47 2010 +0100 (2010-01-08)
parents be5bba285abe
children 74a6a43bf614
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mv $PACKAGE-$VERSION.NC $src
18 cd $src
19 cd build_unix
20 ../dist/configure \
21 --enable-compat185 \
22 --prefix=/usr \
23 --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 }