wok-current view pyaudio/receipt @ rev 25146
updated portaudio and portaudio-dev (190600_20161030 -> 19.7.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 15:26:46 2022 +0100 (2022-06-29) |
parents | 6156391b4805 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="pyaudio"
4 VERSION="0.2.11"
5 CATEGORY="development"
6 SHORT_DESC="Provides Python bindings for PortAudio."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="unknown"
9 WEB_SITE="https://people.csail.mit.edu/hubert/pyaudio/"
11 SOURCE="PyAudio"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://files.pythonhosted.org/packages/source/P/$SOURCE/$TARBALL"
15 DEPENDS="portaudio python"
16 BUILD_DEPENDS="portaudio-dev python-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed '/new release/!d;s| is.*||;s|[^0-9]*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 python setup.py build &&
29 python setup.py install --root=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/usr $fs
36 }