wok annotate id3v2/receipt @ rev 24489
updated dmidecode (3.2 -> 3.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 18 17:31:24 2022 +0100 (2022-02-18) |
parents | 76b72f1ad63c |
children | 7dd01dedad38 |
rev | line source |
---|---|
pascal@13234 | 1 # SliTaz package receipt. |
pascal@13234 | 2 |
pascal@13234 | 3 PACKAGE="id3v2" |
pascal@13234 | 4 VERSION="0.1.12" |
pascal@13234 | 5 CATEGORY="multimedia" |
pascal@13234 | 6 SHORT_DESC="A command line editor for id3v2 tags." |
pascal@13234 | 7 MAINTAINER="paul@slitaz.org" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
pascal@13234 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13234 | 10 WEB_SITE="http://id3v2.sourceforge.net/" |
pascal@13234 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@13234 | 12 |
pascal@14996 | 13 DEPENDS="id3lib" |
pascal@14996 | 14 BUILD_DEPENDS="id3lib-dev" |
pascal@14996 | 15 |
pascal@24412 | 16 # What is the latest version available today? |
pascal@24412 | 17 current_version() |
pascal@24412 | 18 { |
pascal@24412 | 19 wget -O - https://sourceforge.net/projects/id3v2/files/id3v2/ 2>/dev/null | \ |
pascal@24412 | 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24412 | 21 sed '/scope="row/!d;s|.*/id3v2/||;s|/.*||;q' |
pascal@24412 | 22 } |
pascal@24412 | 23 |
pascal@13234 | 24 # Rules to configure and make the package. |
pascal@13234 | 25 compile_rules() |
pascal@13234 | 26 { |
pascal@13234 | 27 cd $src |
pascal@13234 | 28 make |
pascal@13234 | 29 } |
pascal@13234 | 30 |
pascal@13234 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13234 | 32 genpkg_rules() |
pascal@13234 | 33 { |
pascal@13234 | 34 mkdir -p $fs/usr/bin |
pascal@13234 | 35 cp -a $src/$PACKAGE $fs/usr/bin |
pascal@13234 | 36 chown -R root.root $fs |
pascal@13234 | 37 } |
pascal@13234 | 38 |