wok annotate libdbi/receipt @ rev 25036

gtk-gnutella: binutils 2.34+ support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 13:10:56 2022 +0000 (23 months ago)
parents ecd613707114
children 7dd01dedad38
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+"
pascal@25036 9 WEB_SITE="http://libdbi.sourceforge.net/"
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 }