wok-6.x view pyaudio/receipt @ rev 18077

Rebuild Python packages to remove "*.pyc" files from package.lists (part 1).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 22 17:34:18 2015 +0300 (2015-05-22)
parents d8c3590387b5
children 46fc8daa3b41
line source
1 # SliTaz package receipt.
3 PACKAGE="pyaudio"
4 VERSION="0.2.8"
5 CATEGORY="development"
6 SHORT_DESC="PyAudio provides Python bindings for PortAudio."
7 MAINTAINER="paul@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://people.csail.mit.edu/hubert/pyaudio/"
10 WGET_URL="http://people.csail.mit.edu/hubert/pyaudio/packages/$TARBALL"
12 DEPENDS="python portaudio"
13 BUILD_DEPENDS="python-dev portaudio-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 python setup.py build
19 python setup.py install --root=$DESTDIR
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 cp -a $install/usr $fs
26 }