wok view rtaudio/receipt @ rev 24801

updated libiodbc and libiodbc-dev (3.52.13 -> 3.52.15)
author Hans-G?nter Theisgen
date Tue Mar 22 10:00:57 2022 +0100 (2022-03-22)
parents 240f8e28cdcd
children 0ce20f30ad33
line source
1 # SliTaz package receipt.
3 PACKAGE="rtaudio"
4 VERSION="5.1.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="Common API for realtime audio input and output (C++ classes)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.music.mcgill.ca/~gary/rtaudio/"
11 TARBALL="${PACKAGE}-${VERSION}.tar.gz"
12 WGET_URL="${WEB_SITE}release/$TARBALL"
14 DEPENDS="alsa-lib jack-audio-connection-kit"
15 BUILD_DEPENDS="alsa-lib-dev jack-audio-connection-kit-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/snapshot/d;/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --with-alsa \
30 --with-jack \
31 $CONFIGURE_ARGS &&
32 make -j 1
34 # Python bindings --> rtaudio-python ??
35 #cd $src/contrib/python/pyrtaudio
36 #CFLAGS="$CFLAGS -I../../../include" \
37 #python setup.py build
38 #python setup.py install --root="$DESTDIR"
39 echo "Continuing, any error will remine in pkg build..."
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib
47 cp -a $src/.libs/librtaudio.so* $fs/usr/lib
48 cd $fs/usr/lib
49 ln -s librtaudio.so.$VERSION librtaudio.so.4
50 }