wok-6.x annotate id3lib/receipt @ rev 24454

gnustep-back: added dependency icu
author Hans-G?nter Theisgen
date Wed Feb 16 07:53:02 2022 +0100 (2022-02-16)
parents de49f29b101e
children 7dd01dedad38
rev   line source
pankso@293 1 # SliTaz package receipt.
pankso@293 2
pankso@293 3 PACKAGE="id3lib"
pankso@293 4 VERSION="3.8.3"
pankso@293 5 CATEGORY="multimedia"
pankso@293 6 SHORT_DESC="Library to manipulate ID3v1 and ID3v2 tags."
pankso@293 7 MAINTAINER="pankso@slitaz.org"
pascal@15600 8 LICENSE="GPL2"
pankso@293 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@15600 10 WEB_SITE="http://id3lib.sourceforge.net/"
pascal@15600 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@15600 12
pascal@5002 13 DEPENDS="zlib gcc-lib-base"
pascal@1447 14 BUILD_DEPENDS="zlib-dev"
pankso@293 15
pascal@24412 16 # What is the latest version available today?
pascal@24412 17 current_version()
pascal@24412 18 {
pascal@24412 19 wget -O - https://sourceforge.net/projects/id3lib/files/id3lib/ 2>/dev/null | \
pascal@24412 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24412 21 sed '/scope="row/!d;s|.*/id3lib/||;s|/.*||;q'
pascal@24412 22 }
pascal@24412 23
pankso@293 24 # Rules to configure and make the package.
pankso@293 25 compile_rules()
pankso@293 26 {
pankso@293 27 cd $src
slaxemulator@9700 28 patch -p1 -i $stuff/id3lib-$VERSION-gcc-4.4.patch || return 1
pankso@293 29 ./configure \
pankso@293 30 --prefix=/usr \
pascal@1447 31 $CONFIGURE_ARGS &&
pascal@1447 32 make &&
pascal@15600 33 make DESTDIR=$DESTDIR install
pankso@293 34 }
pankso@293 35
pankso@293 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@293 37 genpkg_rules()
pankso@293 38 {
pankso@293 39 mkdir -p $fs/usr/lib
pascal@15600 40 cp -a $install/usr/bin $fs/usr
pascal@15600 41 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@293 42 }