SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "mp3gain"

# SliTaz package receipt.

PACKAGE="mp3gain"
VERSION="1.6.2"
CATEGORY="multimedia"
SHORT_DESC="Analyzes and adjusts volume on mp3 files."
MAINTAINER="paul@slitaz.org"
LICENSE="LGPL2.1"
WEB_SITE="https://mp3gain.sourceforge.net/"

TARBALL="$PACKAGE-${VERSION//./_}-src.zip"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

DEPENDS="mpg123"
BUILD_DEPENDS="mpg123-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/mp3gain/files/mp3gain/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    sed '/scope="row/!d;s|.*/mp3gain/||;s|/.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    make
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin
    cp -a $src/$PACKAGE $fs/usr/bin
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)