wok annotate mutagen/receipt @ rev 25383

updated units (2.19 -> 2.21)
author Hans-G?nter Theisgen
date Sat Jul 30 17:22:12 2022 +0100 (2022-07-30)
parents 7ad044cdc1c1
children 7364ffdaaa60
rev   line source
jozee@2677 1 # SliTaz package receipt.
jozee@2677 2
jozee@2677 3 PACKAGE="mutagen"
Hans-G?nter@21501 4 VERSION="1.42.0"
jozee@2677 5 CATEGORY="multimedia"
Hans-G?nter@21502 6 TAGS="tagging asf flac m4a mp3 musepack ogg aiff id3"
Hans-G?nter@21501 7 SHORT_DESC="Read and write audio tags for many formats."
pascal@14277 8 MAINTAINER="rj.rohit@gmail.com"
pascal@15000 9 LICENSE="GPL2"
pascal@20674 10 WEB_SITE="https://github.com/quodlibet/mutagen"
Hans-G?nter@21501 11
jozee@2677 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21502 13 WGET_URL="https://github.com/quodlibet/$PACKAGE/releases/download/release-$VERSION/$TARBALL"
jozee@2677 14
pascal@15000 15 DEPENDS="python"
Hans-G?nter@21501 16 BUILD_DEPENDS="cacerts python"
pascal@15000 17
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24055 20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@24055 21 sed '/archive.*tar/!d;s|.*/release-\(.*\).tar.*|\1|;q'
pascal@24055 22 }
pascal@24055 23
jozee@2677 24 # Rules to configure and make the package.
jozee@2677 25 compile_rules()
jozee@2677 26 {
jozee@2677 27 python setup.py build
pascal@15000 28 python setup.py install --root=$DESTDIR
jozee@2677 29 }
jozee@2677 30
jozee@2677 31 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2677 32 genpkg_rules()
jozee@2677 33 {
al@17791 34 cp -a $install/* $fs
jozee@2677 35 }