wok annotate mp3gain/receipt @ rev 24633

updated gtick again (0.5.4 -> 0.5.5)
author Hans-G?nter Theisgen
date Tue Mar 08 16:29:56 2022 +0100 (2022-03-08)
parents ccd227dcb249
children 56e6b4e63668
rev   line source
pascal@11559 1 # SliTaz package receipt.
pascal@11559 2
pascal@11559 3 PACKAGE="mp3gain"
Hans-G?nter@21476 4 VERSION="1.6.2"
pascal@11559 5 CATEGORY="multimedia"
pascal@11559 6 SHORT_DESC="Analyzes and adjusts volume on mp3 files."
pascal@11559 7 MAINTAINER="paul@slitaz.org"
pascal@15583 8 LICENSE="LGPL2.1"
Hans-G?nter@21476 9 WEB_SITE="https://sourceforge.net/projects/mp3gain/"
Hans-G?nter@21476 10
Hans-G?nter@21476 11 TARBALL="$PACKAGE-${VERSION//./_}-src.zip"
pascal@11559 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@11559 13
Hans-G?nter@21476 14 DEPENDS="mpg123"
Hans-G?nter@21476 15 BUILD_DEPENDS="mpg123-dev"
pascal@15583 16
pascal@24402 17 # What is the latest version available today?
pascal@24402 18 current_version()
pascal@24402 19 {
pascal@24402 20 wget -O - https://sourceforge.net/projects/mp3gain/files/mp3gain/ 2>/dev/null | \
pascal@24402 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24402 22 sed '/scope="row/!d;s|.*/mp3gain/||;s|/.*||;q'
pascal@24402 23 }
pascal@24402 24
pascal@11559 25 # Rules to configure and make the package.
pascal@11559 26 compile_rules()
pascal@11559 27 {
pascal@11559 28 make
pascal@11559 29 }
pascal@11559 30
pascal@11559 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11559 32 genpkg_rules()
pascal@11559 33 {
pascal@11559 34 mkdir -p $fs/usr/bin
pascal@11559 35 cp -a $src/$PACKAGE $fs/usr/bin
pascal@11559 36 }