wok-current view mutagen/receipt @ rev 24303
linux64-aufs: fix git branch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 15 16:48:52 2022 +0000 (2022-01-15) |
parents | 7ad044cdc1c1 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="mutagen"
4 VERSION="1.42.0"
5 CATEGORY="multimedia"
6 TAGS="tagging asf flac m4a mp3 musepack ogg aiff id3"
7 SHORT_DESC="Read and write audio tags for many formats."
8 MAINTAINER="rj.rohit@gmail.com"
9 LICENSE="GPL2"
10 WEB_SITE="https://github.com/quodlibet/mutagen"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/quodlibet/$PACKAGE/releases/download/release-$VERSION/$TARBALL"
15 DEPENDS="python"
16 BUILD_DEPENDS="cacerts python"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/release-\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py build
28 python setup.py install --root=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/* $fs
35 }