wok-next annotate python-pyalsaaudio/receipt @ rev 9057
centerim: use $DESTDIR
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 04 11:48:11 2011 +0100 (2011-03-04) |
parents | |
children | d0fd1116fafe |
rev | line source |
---|---|
pankso@4419 | 1 # SliTaz package receipt. |
pankso@4419 | 2 |
pankso@4419 | 3 PACKAGE="python-pyalsaaudio" |
pankso@4419 | 4 VERSION="0.5" |
pankso@4419 | 5 CATEGORY="multimedia" |
pankso@4419 | 6 SHORT_DESC="ALSA wrapper for Python." |
pankso@4419 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@4419 | 8 SOURCE="pyalsaaudio" |
pankso@4419 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@4419 | 10 WEB_SITE="http://sourceforge.net/projects/pyalsaaudio/" |
pankso@4419 | 11 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" |
pankso@4419 | 12 DEPENDS="alsa-lib python" |
pankso@4419 | 13 BUILD_DEPENDS="python python-dev" |
pankso@4419 | 14 TAGS="python" |
pankso@4419 | 15 |
pankso@4419 | 16 # Rules to configure and make the package. |
pankso@4419 | 17 compile_rules() |
pankso@4419 | 18 { |
pankso@4419 | 19 cd $src |
pankso@4419 | 20 python setup.py install --root=$PWD/_pkg |
pankso@4419 | 21 } |
pankso@4419 | 22 |
pankso@4419 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4419 | 24 genpkg_rules() |
pankso@4419 | 25 { |
pankso@4419 | 26 cp -a $_pkg/usr $fs |
pankso@4419 | 27 } |