wok view rtaudio/receipt @ rev 19177
Up sc-im (20160603)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Fri Jun 03 20:48:12 2016 +0100 (2016-06-03) |
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 }