wok view rtaudio/receipt @ rev 20715
tor 0.3.5.7
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Thu Feb 07 09:37:17 2019 +0000 (2019-02-07) |
parents | 3b4e4318134e |
children | 240f8e28cdcd |
line source
1 # SliTaz package receipt.
3 PACKAGE="rtaudio"
4 VERSION="4.0.11"
5 CATEGORY="multimedia"
6 SHORT_DESC="Common API for realtime audio input/output (C++ classes)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="${PACKAGE}-${VERSION}.tar.gz"
10 WEB_SITE="http://www.music.mcgill.ca/~gary/rtaudio/"
11 WGET_URL="http://www.music.mcgill.ca/~gary/rtaudio/release/$TARBALL"
13 DEPENDS="alsa-lib jack-audio-connection-kit"
14 BUILD_DEPENDS="alsa-lib-dev jack-audio-connection-kit-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure \
20 --prefix=/usr \
21 --with-alsa \
22 --with-jack \
23 $CONFIGURE_ARGS &&
24 make -j 1
25 # Python bindings --> rtaudio-python ??
26 #cd $src/contrib/python/pyrtaudio
27 #CFLAGS="$CFLAGS -I../../../include" \
28 #python setup.py build
29 #python setup.py install --root="$DESTDIR"
30 echo "Continuing, any error will remine in pkg build..."
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $src/librtaudio.so* $fs/usr/lib
38 cd $fs/usr/lib
39 ln -s librtaudio.so.$VERSION librtaudio.so.4
40 }