wok view id3v2/receipt @ rev 25780

Add apultra & lzav
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 23 14:15:08 2024 +0000 (8 weeks ago)
parents 7dd01dedad38
children
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|.*a href="|"https://sourceforge.net|;s| .*||;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 }