wok annotate rtaudio/receipt @ rev 14986

Up: thunderbird-langpack-zh_CN (17.0.8esr)
author Dominique Corbex <domcox@slitaz.org>
date Thu Aug 08 22:21:17 2013 +0200 (2013-08-08)
parents
children 3b4e4318134e
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"
pankso@13565 8 TARBALL="${PACKAGE}-${VERSION}.tar.gz"
pankso@13565 9 WEB_SITE="http://www.music.mcgill.ca/~gary/rtaudio/"
pankso@13565 10 WGET_URL="http://www.music.mcgill.ca/~gary/rtaudio/release/$TARBALL"
pankso@13565 11
pankso@13565 12 DEPENDS="alsa-lib jack-audio-connection-kit"
pankso@13565 13 BUILD_DEPENDS="alsa-lib-dev jack-audio-connection-kit-dev"
pankso@13565 14
pankso@13565 15 # Rules to configure and make the package.
pankso@13565 16 compile_rules()
pankso@13565 17 {
pankso@13565 18 cd $src
pankso@13565 19 ./configure \
pankso@13565 20 --prefix=/usr \
pankso@13565 21 --with-alsa \
pankso@13565 22 --with-jack \
pankso@13565 23 $CONFIGURE_ARGS &&
pankso@13565 24 make
pankso@13565 25 # Python bindings --> rtaudio-python ??
pankso@13565 26 #cd $src/contrib/python/pyrtaudio
pankso@13565 27 #CFLAGS="$CFLAGS -I../../../include" \
pankso@13565 28 #python setup.py build
pankso@13565 29 #python setup.py install --root="$DESTDIR"
pankso@13565 30 echo "Continuing, any error will remine in pkg build..."
pankso@13565 31 }
pankso@13565 32
pankso@13565 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@13565 34 genpkg_rules()
pankso@13565 35 {
pankso@13565 36 mkdir -p $fs/usr/lib
pankso@13565 37 cp -a $src/librtaudio.so* $fs/usr/lib
pankso@13565 38 cd $fs/usr/lib
pankso@13565 39 ln -s librtaudio.so.$VERSION librtaudio.so.4
pankso@13565 40 }