wok-next view db/receipt @ rev 6928

Up: elfutils to 0.149. Fixed it to build in clean chroot. Fixed it also to download sources with real wget by since sources are on https host. So now elfutils can download its sources just fine.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Oct 22 22:36:22 2010 +0000 (2010-10-22)
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 }