wok-6.x view python-mpd/receipt @ rev 25432
motion: adapted configuration parameters to version 4.4.0
author | Hans-G?nter Theisgen |
---|---|
date | Sun Aug 21 17:07:48 2022 +0100 (24 months ago) |
parents | 104a2a2e5484 |
children |
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="https://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 }