wok-current diff rtaudio/receipt @ rev 14687

terminology: Up to 0.3.0-3
author Dominique Corbex <domcox@slitaz.org>
date Thu Jun 06 22:09:23 2013 +0200 (2013-06-06)
parents
children 3b4e4318134e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/rtaudio/receipt	Thu Jun 06 22:09:23 2013 +0200
     1.3 @@ -0,0 +1,40 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="rtaudio"
     1.7 +VERSION="4.0.11"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="Common API for realtime audio input/output (C++ classes)."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +TARBALL="${PACKAGE}-${VERSION}.tar.gz"
    1.12 +WEB_SITE="http://www.music.mcgill.ca/~gary/rtaudio/"
    1.13 +WGET_URL="http://www.music.mcgill.ca/~gary/rtaudio/release/$TARBALL"
    1.14 +
    1.15 +DEPENDS="alsa-lib jack-audio-connection-kit"
    1.16 +BUILD_DEPENDS="alsa-lib-dev jack-audio-connection-kit-dev"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	./configure \
    1.23 +		--prefix=/usr \
    1.24 +		--with-alsa \
    1.25 +		--with-jack \
    1.26 +		$CONFIGURE_ARGS &&
    1.27 +	make
    1.28 +	# Python bindings --> rtaudio-python ??
    1.29 +	#cd $src/contrib/python/pyrtaudio
    1.30 +	#CFLAGS="$CFLAGS -I../../../include" \
    1.31 +	#python setup.py build
    1.32 +	#python setup.py install --root="$DESTDIR"
    1.33 +	echo "Continuing, any error will remine in pkg build..."
    1.34 +}
    1.35 +
    1.36 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.37 +genpkg_rules()
    1.38 +{
    1.39 +	mkdir -p $fs/usr/lib
    1.40 +	cp -a $src/librtaudio.so* $fs/usr/lib
    1.41 +	cd $fs/usr/lib
    1.42 +	ln -s librtaudio.so.$VERSION librtaudio.so.4
    1.43 +}