wok annotate libid3tag/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents 73fb2ebfd59a
children 65ff25c4de90
rev   line source
paul@1374 1 # SliTaz package receipt.
paul@1374 2
paul@1374 3 PACKAGE="libid3tag"
paul@1374 4 VERSION="0.15.1b"
paul@1374 5 CATEGORY="multimedia"
paul@1374 6 SHORT_DESC="ID3 tag manipulation library."
paul@1374 7 MAINTAINER="paul@slitaz.org"
pascal@15473 8 LICENSE="GPL2"
paul@1374 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@1374 10 WEB_SITE="http://www.underbit.com/products/mad/"
paul@1374 11 WGET_URL="http://downloads.sourceforge.net/mad/$TARBALL"
pankso@16021 12 HOST_ARCH="i486 arm"
paul@1374 13
pascal@15473 14 DEPENDS="zlib"
pascal@15473 15 BUILD_DEPENDS="zlib-dev"
pascal@15473 16
pascal@24361 17 # What is the latest version available today?
pascal@24361 18 current_version()
pascal@24361 19 {
pascal@24361 20 wget -O - https://sourceforge.net/projects/mad/files/libid3tag/ 2>/dev/null | \
pascal@24361 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24361 22 sed '/scope="row/!d;s|.*/libid3tag/||;s|/.*||;q'
pascal@24361 23 }
pascal@24361 24
paul@1374 25 # Rules to configure and make the package.
paul@1374 26 compile_rules()
paul@1374 27 {
pankso@16021 28 ./configure --prefix=/usr $CONFIGURE_ARGS &&
pankso@16021 29 make && make DESTDIR=$DESTDIR install
paul@1374 30 }
paul@1374 31
paul@1374 32 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@1374 33 genpkg_rules()
paul@1374 34 {
paul@1374 35 mkdir -p $fs/usr/lib
pascal@15473 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
paul@1374 37 }
paul@1374 38