wok view db/receipt @ rev 3756
Fix: libsoup commit
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Thu Jul 23 15:51:49 2009 +0000 (2009-07-23) |
parents | 749730241669 |
children | 55ebdca75e49 |
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 # if [ -L $(which patch) ]; then
18 # echo "Please reinstall patch !"
19 # return 1
20 # fi
21 mv $PACKAGE-$VERSION.NC $src
22 cd $src
23 # wget http://www.oracle.com/technology/products/berkeley-db/db/update/4.5.20/patch.4.5.20.1 || return 1
24 # [ -f done.patch.4.5.20.1 ] || patch -p0 < patch.4.5.20.1
25 # touch done.patch.4.5.20.1
26 cd build_unix
27 ../dist/configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$PWD/../_pkg install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $_pkg/usr/bin $fs/usr
40 # Package all db pkgs
41 for i in $(cd $WOK; ls -d db-* libdb)
42 do
43 tazwok genpkg $i
44 done
45 }
47 #clean_wok()
48 #{
49 # rm -rf PACKAGE-$VERSION.NC
50 #}