wok annotate rtaudio/receipt @ rev 19806

mpv: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 26 10:49:59 2017 +0100 (2017-02-26)
parents 3b4e4318134e
children 240f8e28cdcd
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 ./configure \
pankso@13565 20 --prefix=/usr \
pankso@13565 21 --with-alsa \
pankso@13565 22 --with-jack \
pankso@13565 23 $CONFIGURE_ARGS &&
pascal@18424 24 make -j 1
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 }