# SliTaz package receipt. PACKAGE="db" VERSION="4.8.26" CATEGORY="misc" SHORT_DESC="Berkeley database system." MAINTAINER="pascal.bellard@slitaz.org" TARBALL="$PACKAGE-$VERSION.NC.tar.gz" WEB_SITE="http://www.oracle.com/technology/software/products/berkeley-db/db/" WGET_URL="http://download.oracle.com/berkeley-db/$TARBALL" TAGS="database" DEPENDS="glibc-base libdb" BUILD_DEPENDS="gcc" # Rules to compile & install the temporary toolchain. cook_tmp_toolchain() { cd $src/build_unix ../dist/configure --enable-compat185 && make && make install } # Rules to configure and make the package. compile_rules() { cd $src/build_unix ../dist/configure --enable-compat185 \ $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $_pkg/usr/bin $fs/usr }