wok-current view rtaudio/receipt @ rev 23620

updated rtaudio and rtaudio-dev (4.0.11 -> 5.1.0)
author Hans-G?nter Theisgen
date Tue Apr 14 14:59:40 2020 +0100 (2020-04-14)
parents 1e43d63c4aa7
children 453c249b6219
line source
1 # SliTaz package receipt.
3 PACKAGE="rtaudio"
4 VERSION="5.1.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="Common API for realtime audio input and output (C++ classes)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.music.mcgill.ca/~gary/rtaudio/"
11 TARBALL="${PACKAGE}-${VERSION}.tar.gz"
12 WGET_URL="${WEB_SITE}release/$TARBALL"
14 DEPENDS="alsa-lib jack-audio-connection-kit"
15 BUILD_DEPENDS="alsa-lib-dev jack-audio-connection-kit-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --prefix=/usr \
22 --with-alsa \
23 --with-jack \
24 $CONFIGURE_ARGS &&
25 make -j 1
27 # Python bindings --> rtaudio-python ??
28 #cd $src/contrib/python/pyrtaudio
29 #CFLAGS="$CFLAGS -I../../../include" \
30 #python setup.py build
31 #python setup.py install --root="$DESTDIR"
32 echo "Continuing, any error will remine in pkg build..."
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
40 cp -a $src/.libs/librtaudio.so* $fs/usr/lib
41 cd $fs/usr/lib
42 ln -s librtaudio.so.$VERSION librtaudio.so.4
43 }