wok-current view python-mpd/receipt @ rev 24618

updated gphoto2 (2.5.23 -> 2.5.28)
author Hans-G?nter Theisgen
date Mon Mar 07 09:50:09 2022 +0100 (2022-03-07)
parents 16df76e1fc6a
children e717a4953b0e
line source
1 # SliTaz package receipt.
3 PACKAGE="python-mpd"
4 VERSION="0.3.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="Python MPD client library"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="LGPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://pypi.python.org/pypi/python-mpd/"
11 WGET_URL="http://pypi.python.org/packages/source/p/python-mpd/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \
21 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q"
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py install --prefix=/usr --root="$DESTDIR"
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/lib $fs/usr
35 }