wok annotate python-pyalsaaudio/receipt @ rev 24891
lynx: use ncursesw (tanks ceel)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 07 07:20:18 2022 +0000 (2022-04-07) |
parents | 1df6fa555414 |
children | 5a04a868feb7 |
rev | line source |
---|---|
pankso@4419 | 1 # SliTaz package receipt. |
pankso@4419 | 2 |
pankso@4419 | 3 PACKAGE="python-pyalsaaudio" |
Hans-G?nter@23534 | 4 VERSION="0.8.4" |
pankso@4419 | 5 CATEGORY="multimedia" |
Hans-G?nter@23534 | 6 TAGS="python" |
pankso@4419 | 7 SHORT_DESC="ALSA wrapper for Python." |
pankso@4419 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15378 | 9 LICENSE="PSL" |
Hans-G?nter@23534 | 10 WEB_SITE="https://pypi.org/project/pyalsaaudio/" |
Hans-G?nter@23534 | 11 |
pankso@4419 | 12 SOURCE="pyalsaaudio" |
pankso@4419 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23534 | 14 WGET_URL="https://files.pythonhosted.org/packages/source/p/$SOURCE/$TARBALL" |
pascal@15378 | 15 |
pankso@4419 | 16 DEPENDS="alsa-lib python" |
Hans-G?nter@23534 | 17 BUILD_DEPENDS="alsa-lib-dev python python-dev python-setuptools" |
pankso@4419 | 18 |
pascal@24383 | 19 # What is the latest version available today? |
pascal@24288 | 20 current_version() |
pascal@24288 | 21 { |
pascal@24383 | 22 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" |
pascal@24288 | 23 } |
pascal@24288 | 24 |
pankso@4419 | 25 # Rules to configure and make the package. |
pankso@4419 | 26 compile_rules() |
pankso@4419 | 27 { |
pascal@15378 | 28 python setup.py install --root=$DESTDIR |
pankso@4419 | 29 } |
pankso@4419 | 30 |
pankso@4419 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4419 | 32 genpkg_rules() |
pankso@4419 | 33 { |
Hans-G?nter@23534 | 34 cp -a $install/usr $fs |
pankso@4419 | 35 } |