SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "db"

# SliTaz package receipt.

PACKAGE="db"
VERSION="6.2.23"
CATEGORY="misc"
SHORT_DESC="Berkeley database system."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="BSD"
TARBALL="$PACKAGE-$VERSION.NC.tar.gz"
WEB_SITE="https://www.oracle.com/database/berkeley-db/db.html"
WGET_URL="https://download.oracle.com/berkeley-db/$TARBALL"
TAGS="database"
HOST_ARCH="i486 arm"

DEPENDS="glibc-base libdb"
BUILD_DEPENDS=""

# What is the latest version available today?
current_version()
{
    wget -O - https://www.oracle.com/database/technologies/related/berkeleydb-downloads.html 2>/dev/null | \
    sed '/Berkeley DB [0-9]/!d;s|.*(||;s|).*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src/build_unix
    ../dist/configure \
        --enable-cxx \
        --enable-compat185 \
        --enable-dbm \
        --disable-static \
        $CONFIGURE_ARGS &&
    make &&    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/bin $fs/usr
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)