wok-current view rtaudio/receipt @ rev 17736
prelink: force libpthread link
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 06 12:45:18 2015 +0100 (2015-03-06) |
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 }