# SliTaz package receipt. PACKAGE="libzdb" VERSION="3.2.2" CATEGORY="system-tools" SHORT_DESC="Zild Database Library." MAINTAINER="pankso@slitaz.org" LICENSE="GPL" WEB_SITE="https://www.tildeslash.com/libzdb/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://www.tildeslash.com/libzdb/dist/$TARBALL" DEPENDS="gcc83-lib-base sqlite" BUILD_DEPENDS="gcc83 sqlite-dev" #HOST_ARCH="i486 arm" # Handle cross comilation case "$ARCH" in arm) ;; esac # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { ./configure \ CC=gcc-83 \ CXX=g++-83 \ --prefix=/usr \ --without-postgresql \ --without-mysql \ --enable-optimized \ $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_files *.so* }