SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "mutagen"

# SliTaz package receipt.

PACKAGE="mutagen"
VERSION="1.42.0"
CATEGORY="multimedia"
TAGS="tagging asf flac m4a mp3 musepack ogg aiff id3"
SHORT_DESC="Read and write audio tags for many formats."
MAINTAINER="rj.rohit@gmail.com"
LICENSE="GPL2"
WEB_SITE="https://github.com/quodlibet/mutagen"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/quodlibet/$PACKAGE/releases/download/release-$VERSION/$TARBALL"

DEPENDS="python"
BUILD_DEPENDS="cacerts python"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/down*} 2>/dev/null | \
    sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    python setup.py build
    python setup.py install --root=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/* $fs
}
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)