wok-current view db/receipt @ rev 7018
Up: xorg-damageproto to 1.2.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Oct 31 13:59:19 2010 +0000 (2010-10-31) |
parents | 74a6a43bf614 |
children | 53e1828da719 |
line source
1 # SliTaz package receipt.
3 PACKAGE="db"
4 VERSION="4.8.26"
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 }