wok annotate libzdb/receipt @ rev 25466

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 01 09:32:27 2022 +0000 (20 months ago)
parents ede1d184d5c5
children
rev   line source
pankso@16507 1 # SliTaz package receipt.
pankso@16507 2
pankso@16507 3 PACKAGE="libzdb"
Hans-G?nter@24853 4 VERSION="3.2.2"
pankso@16507 5 CATEGORY="system-tools"
pankso@16507 6 SHORT_DESC="Zild Database Library."
pankso@16507 7 MAINTAINER="pankso@slitaz.org"
pankso@16507 8 LICENSE="GPL"
Hans-G?nter@24853 9 WEB_SITE="https://www.tildeslash.com/libzdb/"
Hans-G?nter@23127 10
pankso@16507 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@24853 12 WGET_URL="https://www.tildeslash.com/libzdb/dist/$TARBALL"
Hans-G?nter@23127 13
Hans-G?nter@23127 14 DEPENDS="gcc83-lib-base sqlite"
Hans-G?nter@23127 15 BUILD_DEPENDS="gcc83 sqlite-dev"
Hans-G?nter@23127 16
pankso@16507 17 #HOST_ARCH="i486 arm"
pankso@16507 18
pankso@16507 19 # Handle cross comilation
pankso@16507 20 case "$ARCH" in
pankso@16507 21 arm) ;;
pankso@16507 22 esac
pankso@16507 23
pascal@24447 24 # What is the latest version available today?
pascal@24447 25 current_version()
pascal@24447 26 {
pascal@24447 27 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24447 28 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24447 29 }
pascal@24447 30
pankso@16507 31 # Rules to configure and make the package.
pankso@16507 32 compile_rules()
pankso@16507 33 {
Hans-G?nter@23127 34 ./configure \
Hans-G?nter@23127 35 CC=gcc-83 \
Hans-G?nter@23127 36 CXX=g++-83 \
Hans-G?nter@23127 37 --prefix=/usr \
Hans-G?nter@23127 38 --without-postgresql \
Hans-G?nter@23127 39 --without-mysql \
Hans-G?nter@23127 40 --enable-optimized \
pankso@16507 41 $CONFIGURE_ARGS &&
Hans-G?nter@23127 42 make &&
Hans-G?nter@23127 43 make install
pankso@16507 44 }
pankso@16507 45
pankso@16507 46 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16507 47 genpkg_rules()
pankso@16507 48 {
Hans-G?nter@24853 49 cook_copy_files *.so*
pankso@16507 50 }