wok view db/receipt @ rev 24987

grub: add gpt support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 12 07:08:39 2022 +0000 (2022-05-12)
parents 1a39a3d55d0e
children
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="https://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 }