wok-next view rtaudio/receipt @ rev 16770

Fix loop depends: 1) xorg-libXfont <-> xorg-libXfont; 2) glibmm <-> libgiomm (thanks "tazpkg check").
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jun 20 00:27:57 2014 +0300 (2014-06-20)
parents a95a29f222cc
children 1e43d63c4aa7
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 cd $src
20 ./configure \
21 --prefix=/usr \
22 --with-alsa \
23 --with-jack \
24 $CONFIGURE_ARGS &&
25 make
26 # Python bindings --> rtaudio-python ??
27 #cd $src/contrib/python/pyrtaudio
28 #CFLAGS="$CFLAGS -I../../../include" \
29 #python setup.py build
30 #python setup.py install --root="$DESTDIR"
31 echo "Continuing, any error will remine in pkg build..."
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $src/librtaudio.so* $fs/usr/lib
39 cd $fs/usr/lib
40 ln -s librtaudio.so.$VERSION librtaudio.so.4
41 }