wok annotate rtaudio/receipt @ rev 17702
Add dosbox-mb (thanks vincent perry)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 28 00:30:06 2015 +0100 (2015-02-28) |
parents | a95a29f222cc |
children | 1e43d63c4aa7 |
rev | line source |
---|---|
pankso@13565 | 1 # SliTaz package receipt. |
pankso@13565 | 2 |
pankso@13565 | 3 PACKAGE="rtaudio" |
pankso@13565 | 4 VERSION="4.0.11" |
pankso@13565 | 5 CATEGORY="multimedia" |
pankso@13565 | 6 SHORT_DESC="Common API for realtime audio input/output (C++ classes)." |
pankso@13565 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15593 | 8 LICENSE="MIT" |
pankso@13565 | 9 TARBALL="${PACKAGE}-${VERSION}.tar.gz" |
pankso@13565 | 10 WEB_SITE="http://www.music.mcgill.ca/~gary/rtaudio/" |
pankso@13565 | 11 WGET_URL="http://www.music.mcgill.ca/~gary/rtaudio/release/$TARBALL" |
pankso@13565 | 12 |
pankso@13565 | 13 DEPENDS="alsa-lib jack-audio-connection-kit" |
pankso@13565 | 14 BUILD_DEPENDS="alsa-lib-dev jack-audio-connection-kit-dev" |
pankso@13565 | 15 |
pankso@13565 | 16 # Rules to configure and make the package. |
pankso@13565 | 17 compile_rules() |
pankso@13565 | 18 { |
pankso@13565 | 19 cd $src |
pankso@13565 | 20 ./configure \ |
pankso@13565 | 21 --prefix=/usr \ |
pankso@13565 | 22 --with-alsa \ |
pankso@13565 | 23 --with-jack \ |
pankso@13565 | 24 $CONFIGURE_ARGS && |
pankso@13565 | 25 make |
pankso@13565 | 26 # Python bindings --> rtaudio-python ?? |
pankso@13565 | 27 #cd $src/contrib/python/pyrtaudio |
pankso@13565 | 28 #CFLAGS="$CFLAGS -I../../../include" \ |
pankso@13565 | 29 #python setup.py build |
pankso@13565 | 30 #python setup.py install --root="$DESTDIR" |
pankso@13565 | 31 echo "Continuing, any error will remine in pkg build..." |
pankso@13565 | 32 } |
pankso@13565 | 33 |
pankso@13565 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@13565 | 35 genpkg_rules() |
pankso@13565 | 36 { |
pankso@13565 | 37 mkdir -p $fs/usr/lib |
pankso@13565 | 38 cp -a $src/librtaudio.so* $fs/usr/lib |
pankso@13565 | 39 cd $fs/usr/lib |
pankso@13565 | 40 ln -s librtaudio.so.$VERSION librtaudio.so.4 |
pankso@13565 | 41 } |