# 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" current_version() { wget -O - ${WGET_URL%/down*} 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/release-\(.*\).tar.*|\1|;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 }