wok diff rtaudio/receipt @ rev 24019

syslinux: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 28 16:32:57 2021 +0000 (2021-02-28)
parents 1e43d63c4aa7
children 453c249b6219
line diff
     1.1 --- a/rtaudio/receipt	Mon Sep 21 11:30:33 2015 +0200
     1.2 +++ b/rtaudio/receipt	Sun Feb 28 16:32:57 2021 +0000
     1.3 @@ -1,14 +1,15 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="rtaudio"
     1.7 -VERSION="4.0.11"
     1.8 +VERSION="5.1.0"
     1.9  CATEGORY="multimedia"
    1.10 -SHORT_DESC="Common API for realtime audio input/output (C++ classes)."
    1.11 +SHORT_DESC="Common API for realtime audio input and output (C++ classes)."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="MIT"
    1.14 +WEB_SITE="https://www.music.mcgill.ca/~gary/rtaudio/"
    1.15 +
    1.16  TARBALL="${PACKAGE}-${VERSION}.tar.gz"
    1.17 -WEB_SITE="http://www.music.mcgill.ca/~gary/rtaudio/"
    1.18 -WGET_URL="http://www.music.mcgill.ca/~gary/rtaudio/release/$TARBALL"
    1.19 +WGET_URL="${WEB_SITE}release/$TARBALL"
    1.20  
    1.21  DEPENDS="alsa-lib jack-audio-connection-kit"
    1.22  BUILD_DEPENDS="alsa-lib-dev jack-audio-connection-kit-dev"
    1.23 @@ -16,12 +17,13 @@
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27 -	./configure \
    1.28 -		--prefix=/usr \
    1.29 -		--with-alsa \
    1.30 -		--with-jack \
    1.31 +	./configure		\
    1.32 +		--prefix=/usr	\
    1.33 +		--with-alsa	\
    1.34 +		--with-jack	\
    1.35  		$CONFIGURE_ARGS &&
    1.36  	make -j 1
    1.37 +
    1.38  	# Python bindings --> rtaudio-python ??
    1.39  	#cd $src/contrib/python/pyrtaudio
    1.40  	#CFLAGS="$CFLAGS -I../../../include" \
    1.41 @@ -34,7 +36,8 @@
    1.42  genpkg_rules()
    1.43  {
    1.44  	mkdir -p $fs/usr/lib
    1.45 -	cp -a $src/librtaudio.so* $fs/usr/lib
    1.46 -	cd $fs/usr/lib
    1.47 +
    1.48 +	cp -a $src/.libs/librtaudio.so*	$fs/usr/lib
    1.49 +	cd				$fs/usr/lib
    1.50  	ln -s librtaudio.so.$VERSION librtaudio.so.4
    1.51  }