wok annotate libcddb/receipt @ rev 25005

updated ntl (11.4.3 -> 11.5.1)
author Hans-G?nter Theisgen
date Mon May 16 16:29:07 2022 +0100 (2022-05-16)
parents a00bf44ed23d
children 7dd01dedad38
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"
pankso@82 10 WEB_SITE="http://libcddb.sourceforge.net/"
pankso@82 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@82 12
pascal@24071 13 current_version()
pascal@24071 14 {
pascal@24071 15 wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
pascal@24071 16 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24071 17 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
pascal@24071 18 }
pascal@24071 19
pankso@82 20 # Rules to configure and make the package.
pankso@82 21 compile_rules()
pankso@82 22 {
pankso@82 23 cd $src
pankso@82 24 ./configure \
pankso@82 25 --prefix=/usr \
pankso@82 26 --infodir=/usr/share/info \
pankso@82 27 --mandir=/usr/share/man \
pascal@5003 28 $CONFIGURE_ARGS &&
pascal@5003 29 make &&
slaxemulator@12371 30 make DESTDIR=$DESTDIR install
pankso@82 31 }
pankso@82 32
pankso@82 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@82 34 genpkg_rules()
pankso@82 35 {
pankso@82 36 mkdir -p $fs/usr/lib
pascal@14714 37 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@82 38 }