wok view db/receipt @ rev 24768

libwebkit: bison 3 fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 19 12:46:44 2022 +0000 (2022-03-19)
parents 6e8b1bcb30e2
children bd7510903310
line source
1 # SliTaz package receipt.
3 PACKAGE="db"
4 VERSION="6.2.23"
5 CATEGORY="misc"
6 SHORT_DESC="Berkeley database system."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.NC.tar.gz"
10 WEB_SITE="https://www.oracle.com/database/berkeley-db/db.html"
11 WGET_URL="http://download.oracle.com/berkeley-db/$TARBALL"
12 TAGS="database"
13 HOST_ARCH="i486 arm"
15 DEPENDS="glibc-base libdb"
16 BUILD_DEPENDS=""
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://www.oracle.com/database/technologies/related/berkeleydb-downloads.html 2>/dev/null | \
22 sed '/Berkeley DB [0-9]/!d;s|.*(||;s|).*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src/build_unix
29 ../dist/configure \
30 --enable-cxx \
31 --enable-compat185 \
32 --enable-dbm \
33 --disable-static \
34 $CONFIGURE_ARGS &&
35 make && make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 cp -a $install/usr/bin $fs/usr
43 }