wok annotate mp3info/receipt @ rev 25443
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 03 09:28:15 2022 +0000 (2022-09-03) |
parents | 241fb98cab1c |
children |
rev | line source |
---|---|
pankso@12190 | 1 # SliTaz package receipt. |
pankso@12190 | 2 |
pankso@12190 | 3 PACKAGE="mp3info" |
pankso@12190 | 4 VERSION="0.8.5a" |
pankso@12190 | 5 CATEGORY="multimedia" |
pankso@12190 | 6 SHORT_DESC="Little utility used to read and modify the ID3 tags of MP3 files." |
pankso@12190 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15583 | 8 LICENSE="GPL2" |
pankso@12190 | 9 TARBALL="$PACKAGE-$VERSION.tgz" |
pankso@12190 | 10 WEB_SITE="http://ibiblio.org/mp3info/" |
pankso@12190 | 11 WGET_URL="ftp://ftp.ibiblio.org/pub/linux/apps/sound/mp3-utils/mp3info/$TARBALL" |
pankso@12190 | 12 |
pankso@12190 | 13 DEPENDS="ncursesw gtk+" |
pankso@12190 | 14 BUILD_DEPENDS="ncursesw-dev gtk+-dev" |
pankso@12190 | 15 |
pascal@24453 | 16 # What is the latest version available today? |
pascal@24453 | 17 current_version() |
pascal@24453 | 18 { |
pascal@24614 | 19 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24614 | 20 sed '/mp3info-/!d;s|.*mp3info-||;s|.t.*||;q' |
pascal@24453 | 21 } |
pascal@24453 | 22 |
pankso@12190 | 23 # Rules to configure and make the package. |
pankso@12190 | 24 compile_rules() |
pankso@12190 | 25 { |
pascal@17752 | 26 sed -i 's/-lncurses/& -ltinfo/' Makefile |
pascal@17752 | 27 make |
pankso@12190 | 28 } |
pankso@12190 | 29 |
pankso@12190 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12190 | 31 genpkg_rules() |
pankso@12190 | 32 { |
pankso@12190 | 33 mkdir -p $fs/usr/bin |
pankso@12190 | 34 cp -a $src/mp3info $fs/usr/bin |
pankso@12190 | 35 cp -a $src/gmp3info $fs/usr/bin |
pankso@12190 | 36 } |