wok-6.x annotate python-mpd/receipt @ rev 25120
updated pekwm (0.1.17 -> 0.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jun 26 10:18:40 2022 +0100 (2022-06-26) |
parents | 104a2a2e5484 |
children |
rev | line source |
---|---|
jozee@2676 | 1 # SliTaz package receipt. |
jozee@2676 | 2 |
jozee@2676 | 3 PACKAGE="python-mpd" |
slaxemulator@7743 | 4 VERSION="0.3.0" |
jozee@2676 | 5 CATEGORY="multimedia" |
jozee@2676 | 6 SHORT_DESC="Python MPD client library" |
jozee@2676 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@15379 | 8 LICENSE="LGPL3" |
jozee@2676 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@16477 | 10 WEB_SITE="https://pypi.python.org/pypi/python-mpd/" |
pascal@24975 | 11 WGET_URL="https://pypi.python.org/packages/source/p/python-mpd/$TARBALL" |
pankso@16477 | 12 HOST_ARCH="i486 arm" |
jozee@2676 | 13 |
pascal@15379 | 14 DEPENDS="python" |
pascal@15379 | 15 BUILD_DEPENDS="python-dev" |
pascal@15379 | 16 |
pascal@24391 | 17 # What is the latest version available today? |
pascal@24391 | 18 current_version() |
pascal@24391 | 19 { |
pascal@24391 | 20 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ |
pascal@24391 | 21 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" |
pascal@24391 | 22 } |
pascal@24391 | 23 |
jozee@2676 | 24 # Rules to configure and make the package. |
jozee@2676 | 25 compile_rules() |
jozee@2676 | 26 { |
al@18077 | 27 python setup.py install --prefix=/usr --root="$DESTDIR" |
jozee@2676 | 28 } |
jozee@2676 | 29 |
jozee@2676 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2676 | 31 genpkg_rules() |
jozee@2676 | 32 { |
jozee@2676 | 33 mkdir -p $fs/usr/lib |
pascal@15379 | 34 cp -a $install/usr/lib $fs/usr |
jozee@2676 | 35 } |