wok annotate mp3gain/receipt @ rev 25074

Add python-ipaddress
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 13 19:39:39 2022 +0000 (23 months ago)
parents afae00265386
children 7dd01dedad38
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"
pascal@25074 9 WEB_SITE="http://mp3gain.sourceforge.net/"
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 }