wok-current view mp3info/receipt @ rev 24538
updated fbcat (0.5.1 -> 0.5.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 23 15:14:49 2022 +0100 (2022-02-23) |
parents | 279df65a72b8 |
children | bc2b9d9bed6f |
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 - ${WGET_URL%/*}/ 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tgz/!d;s|.*$PACKAGE-\\(.*\\).tgz.*|\\1|" | sort -Vr | sed 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 }