wok view id3v2/receipt @ rev 25460

Update sourceforge.net web_sites with https://
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 08:10:35 2022 +0000 (2022-09-28)
parents ba7cbdb5749c
children d3556b8f5c3d
line source
1 # SliTaz package receipt.
3 PACKAGE="id3v2"
4 VERSION="0.1.12"
5 CATEGORY="multimedia"
6 SHORT_DESC="A command line editor for id3v2 tags."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://id3v2.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="id3lib"
14 BUILD_DEPENDS="id3lib-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/id3v2/files/id3v2/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/id3v2/||;s|/.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 make
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
35 cp -a $src/$PACKAGE $fs/usr/bin
36 chown -R root.root $fs
37 }