wok-next view rtaudio/receipt @ rev 20870
bleachbit: up (2.0); fbxkb and foobillardplus: fix build; add jdupes
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 02 15:13:13 2018 +0300 (2018-07-02) |
parents | fb478984fbc8 |
children | d5aab818505e |
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="pankso@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="rtaudio-dev"
17 compile_rules() {
18 ./configure \
19 --prefix=/usr \
20 --with-alsa \
21 --with-jack \
22 $CONFIGURE_ARGS &&
23 make -j 1
24 # Python bindings --> rtaudio-python ??
25 #cd $src/contrib/python/pyrtaudio
26 #CFLAGS="$CFLAGS -I../../../include" \
27 #python setup.py build
28 #python setup.py install --root="$DESTDIR"
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 }