wok annotate libzdb/receipt @ rev 24749

cairo: modified lookup-symbol.c for binutils-2.37
author Hans-G?nter Theisgen
date Wed Mar 16 17:06:35 2022 +0100 (2022-03-16)
parents dfdd914deb97
children a1d37398afa7
rev   line source
pankso@16507 1 # SliTaz package receipt.
pankso@16507 2
pankso@16507 3 PACKAGE="libzdb"
Hans-G?nter@23127 4 VERSION="3.2.1"
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@23127 9 WEB_SITE="http://www.tildeslash.com/libzdb/"
Hans-G?nter@23127 10
pankso@16507 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@16507 12 WGET_URL="http://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 {
pankso@16507 49 mkdir -p $fs/usr/lib
Hans-G?nter@23127 50 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@16507 51 }
pankso@16507 52