wok annotate libcddb/receipt @ rev 25465

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 01 08:33:11 2022 +0000 (20 months ago)
parents 7dd01dedad38
children d3556b8f5c3d
rev   line source
pankso@82 1 # SliTaz package receipt.
pankso@82 2
pankso@82 3 PACKAGE="libcddb"
slaxemulator@6154 4 VERSION="1.3.2"
pankso@206 5 CATEGORY="multimedia"
pankso@82 6 SHORT_DESC="C library to access data on a CDDB server (freedb.org)."
pankso@82 7 MAINTAINER="pankso@slitaz.org"
pascal@15004 8 LICENSE="LGPL2"
pankso@82 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@25460 10 WEB_SITE="https://libcddb.sourceforge.net/"
pankso@82 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@82 12
pascal@25461 13 # What is the latest version available today?
pascal@24071 14 current_version()
pascal@24071 15 {
pascal@24071 16 wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
pascal@24071 17 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24071 18 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
pascal@24071 19 }
pascal@24071 20
pankso@82 21 # Rules to configure and make the package.
pankso@82 22 compile_rules()
pankso@82 23 {
pankso@82 24 cd $src
pankso@82 25 ./configure \
pankso@82 26 --prefix=/usr \
pankso@82 27 --infodir=/usr/share/info \
pankso@82 28 --mandir=/usr/share/man \
pascal@5003 29 $CONFIGURE_ARGS &&
pascal@5003 30 make &&
slaxemulator@12371 31 make DESTDIR=$DESTDIR install
pankso@82 32 }
pankso@82 33
pankso@82 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@82 35 genpkg_rules()
pankso@82 36 {
pankso@82 37 mkdir -p $fs/usr/lib
pascal@14714 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@82 39 }