wok annotate pyaudio/receipt @ rev 25039
Up aspell-pl (6.0_20210731-0), icmptx (20190501)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 26 14:53:15 2022 +0000 (2022-05-26) |
parents | 6156391b4805 |
children |
rev | line source |
---|---|
paul@17495 | 1 # SliTaz package receipt. |
paul@17495 | 2 |
paul@17495 | 3 PACKAGE="pyaudio" |
Hans-G?nter@23457 | 4 VERSION="0.2.11" |
paul@17495 | 5 CATEGORY="development" |
Hans-G?nter@23457 | 6 SHORT_DESC="Provides Python bindings for PortAudio." |
paul@17495 | 7 MAINTAINER="paul@slitaz.org" |
pascal@18334 | 8 LICENSE="unknown" |
Hans-G?nter@23457 | 9 WEB_SITE="https://people.csail.mit.edu/hubert/pyaudio/" |
Hans-G?nter@23457 | 10 |
paul@18624 | 11 SOURCE="PyAudio" |
paul@18624 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23457 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/P/$SOURCE/$TARBALL" |
paul@17495 | 14 |
Hans-G?nter@23457 | 15 DEPENDS="portaudio python" |
Hans-G?nter@23457 | 16 BUILD_DEPENDS="portaudio-dev python-dev" |
paul@17495 | 17 |
pascal@24459 | 18 # What is the latest version available today? |
pascal@24459 | 19 current_version() |
pascal@24459 | 20 { |
pascal@24459 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24459 | 22 sed '/new release/!d;s| is.*||;s|[^0-9]*||;q' |
pascal@24459 | 23 } |
pascal@24459 | 24 |
paul@17495 | 25 # Rules to configure and make the package. |
paul@17495 | 26 compile_rules() |
paul@17495 | 27 { |
Hans-G?nter@23457 | 28 python setup.py build && |
paul@17495 | 29 python setup.py install --root=$DESTDIR |
paul@17495 | 30 } |
paul@17495 | 31 |
paul@17495 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@17495 | 33 genpkg_rules() |
paul@17495 | 34 { |
Hans-G?nter@23457 | 35 cp -a $install/usr $fs |
paul@17495 | 36 } |