wok-next view rtaudio/receipt @ rev 15461
Up: enlightenment-backgrounds (0.17.5)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Nov 05 20:58:44 2013 +0100 (2013-11-05) |
parents | |
children | 3b4e4318134e |
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 TARBALL="${PACKAGE}-${VERSION}.tar.gz"
9 WEB_SITE="http://www.music.mcgill.ca/~gary/rtaudio/"
10 WGET_URL="http://www.music.mcgill.ca/~gary/rtaudio/release/$TARBALL"
12 DEPENDS="alsa-lib jack-audio-connection-kit"
13 BUILD_DEPENDS="alsa-lib-dev jack-audio-connection-kit-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --with-alsa \
22 --with-jack \
23 $CONFIGURE_ARGS &&
24 make
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 }