wok view mp3info/receipt @ rev 24611
updated libgd and libgd-dev (2.0.35 -> 2.3.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 04 09:32:37 2022 +0100 (2022-03-04) |
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 }