wok view python-pyalsaaudio/receipt @ rev 24371
updated bird (2.0.7 -> 2.0.8)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 05 15:01:57 2022 +0100 (2022-02-05) |
parents | 0faadfd0f249 |
children | 076f424196b2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pyalsaaudio"
4 VERSION="0.8.4"
5 CATEGORY="multimedia"
6 TAGS="python"
7 SHORT_DESC="ALSA wrapper for Python."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="PSL"
10 WEB_SITE="https://pypi.org/project/pyalsaaudio/"
12 SOURCE="pyalsaaudio"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://files.pythonhosted.org/packages/source/p/$SOURCE/$TARBALL"
16 DEPENDS="alsa-lib python"
17 BUILD_DEPENDS="alsa-lib-dev python python-dev python-setuptools"
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py install --root=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/usr $fs
34 }