wok annotate libdbi/receipt @ rev 24832

updated libspiro and libspiro-dev (0.5.20150702 -> 20200505)
author Hans-G?nter Theisgen
date Fri Mar 25 06:24:51 2022 +0100 (2022-03-25)
parents 997c40094d11
children 6e5c8ce7fb15
rev   line source
Hans-G?nter@24658 1 # SliTaz package receipt.
Hans-G?nter@24658 2
Hans-G?nter@24658 3 PACKAGE="libdbi"
Hans-G?nter@24658 4 VERSION="0.9.0"
Hans-G?nter@24658 5 CATEGORY="development"
Hans-G?nter@24658 6 SHORT_DESC="Database independent abstraction layer for C."
Hans-G?nter@24658 7 MAINTAINER="maintainer@slitaz.org"
Hans-G?nter@24658 8 LICENSE="LGPL2+"
Hans-G?nter@24658 9 WEB_SITE="https://sourceforge.net/projects/libdbi/"
Hans-G?nter@24658 10
Hans-G?nter@24658 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@24658 12 WGET_URL="https://downloads.sourceforge.net/project/$PACKAGE/$PACKAGE/$PACKAGE-$VERSION/$TARBALL"
Hans-G?nter@24658 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
Hans-G?nter@24658 14
pascal@24673 15 # What is the latest version available today?
pascal@24673 16 current_version()
pascal@24673 17 {
pascal@24673 18 wget -O - https://sourceforge.net/projects/libdbi/files/libdbi/ 2>/dev/null | \
pascal@24673 19 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24673 20 sed '/scope="row/!d;s|.*/libdbi-||;s|/.*||;q'
pascal@24673 21 }
Hans-G?nter@24658 22
Hans-G?nter@24658 23 # Rules to configure and make the package.
Hans-G?nter@24658 24 compile_rules()
Hans-G?nter@24658 25 {
Hans-G?nter@24658 26 ./configure \
Hans-G?nter@24658 27 --prefix=/usr &&
Hans-G?nter@24658 28 make &&
Hans-G?nter@24658 29 make install
Hans-G?nter@24658 30 }
Hans-G?nter@24658 31
Hans-G?nter@24658 32 # Rules to gen a SliTaz package suitable for Tazpkg.
Hans-G?nter@24658 33 genpkg_rules()
Hans-G?nter@24658 34 {
Hans-G?nter@24658 35 cook_copy_files *.so*
Hans-G?nter@24658 36 }