wok annotate mutagen/receipt @ rev 25694
dropbear: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 21 14:12:01 2024 +0000 (5 months ago) |
parents | 5ea0ce1cecc0 |
children |
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@25600 | 18 # What is the latest version available today? |
pascal@24055 | 19 current_version() |
pascal@24055 | 20 { |
pascal@24055 | 21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@25600 | 22 sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q' |
pascal@24055 | 23 } |
pascal@24055 | 24 |
jozee@2677 | 25 # Rules to configure and make the package. |
jozee@2677 | 26 compile_rules() |
jozee@2677 | 27 { |
jozee@2677 | 28 python setup.py build |
pascal@15000 | 29 python setup.py install --root=$DESTDIR |
jozee@2677 | 30 } |
jozee@2677 | 31 |
jozee@2677 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2677 | 33 genpkg_rules() |
jozee@2677 | 34 { |
al@17791 | 35 cp -a $install/* $fs |
jozee@2677 | 36 } |