wok-6.x annotate pyaudio/receipt @ rev 17495
Add pyaudio
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Jan 04 11:37:00 2015 +0000 (2015-01-04) |
parents | |
children | 16df76e1fc6a |
rev | line source |
---|---|
paul@17495 | 1 # SliTaz package receipt. |
paul@17495 | 2 |
paul@17495 | 3 PACKAGE="pyaudio" |
paul@17495 | 4 VERSION="0.2.8" |
paul@17495 | 5 CATEGORY="development" |
paul@17495 | 6 SHORT_DESC="PyAudio provides Python bindings for PortAudio." |
paul@17495 | 7 MAINTAINER="paul@slitaz.org" |
paul@17495 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@17495 | 9 WEB_SITE="http://people.csail.mit.edu/hubert/pyaudio/" |
paul@17495 | 10 WGET_URL="http://people.csail.mit.edu/hubert/pyaudio/packages/$TARBALL" |
paul@17495 | 11 |
paul@17495 | 12 DEPENDS="python portaudio" |
paul@17495 | 13 BUILD_DEPENDS="python-dev portaudio-dev" |
paul@17495 | 14 |
paul@17495 | 15 # Rules to configure and make the package. |
paul@17495 | 16 compile_rules() |
paul@17495 | 17 { |
paul@17495 | 18 cd $src |
paul@17495 | 19 python setup.py build |
paul@17495 | 20 python setup.py install --root=$DESTDIR |
paul@17495 | 21 } |
paul@17495 | 22 |
paul@17495 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@17495 | 24 genpkg_rules() |
paul@17495 | 25 { |
paul@17495 | 26 cp -a $install/usr $fs |
paul@17495 | 27 } |
paul@17495 | 28 |