wok-6.x view rtaudio/receipt @ rev 23722

updated urbackup-server (2.3.8 -> 2.4.12)
author Hans-G?nter Theisgen
date Thu Apr 30 14:18:52 2020 +0100 (2020-04-30)
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 }