wok-next view rtaudio/receipt @ rev 21379
updated mspdebug (0.17 -> 0.25)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 16 16:31:49 2020 +0100 (2020-04-16) |
parents | e323d0535e2c |
children |
line source
1 # SliTaz package receipt v2.
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="devel@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://www.music.mcgill.ca/~gary/rtaudio/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://www.music.mcgill.ca/~gary/rtaudio/release/$TARBALL"
14 BUILD_DEPENDS="alsa-lib-dev jack-dev"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 ./configure \
19 --prefix=/usr \
20 --with-alsa \
21 --with-jack \
22 $CONFIGURE_ARGS &&
23 make -j1
24 # Python bindings --> rtaudio-python ??
25 #cd $src/contrib/python/pyrtaudio
26 #CFLAGS="$CFLAGS -I../../../include" \
27 #python -B setup.py build
28 #python -B setup.py install --root="$install"
29 echo "Continuing, any error will remine in pkg build..."
31 mkdir -p $install/usr/lib
32 cp -a $src/librtaudio.so* $install/usr/lib
33 ln -s librtaudio.so.$VERSION $install/usr/lib/librtaudio.so.4
35 mkdir -p $install/usr/bin $install/usr/include/rtaudio
36 cp -a $src/rtaudio-config $install/usr/bin
37 cp -a $src/*.h $install/usr/include/rtaudio
38 cp -a $src/include/*.h $install/usr/include/rtaudio
39 # GCC fix
40 sed -i '/inline/ s|;$||' $install/usr/include/rtaudio/RtAudio.h
41 }
43 genpkg_rules() {
44 case $PACKAGE in
45 rtaudio)
46 copy @std
47 DEPENDS="alsa-lib jack"
48 ;;
49 *-dev)
50 copy @dev
51 ;;
52 esac
53 }