wok-6.x view mp3info/receipt @ rev 25513

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