wok diff rubberband/receipt @ rev 24365

created recipe for rubberband-2.0.2
author Hans-G?nter Theisgen
date Fri Feb 04 17:35:01 2022 +0100 (2022-02-04)
parents
children 9af0e03b8ad0
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/rubberband/receipt	Fri Feb 04 17:35:01 2022 +0100
     1.3 @@ -0,0 +1,44 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="rubberband"
     1.7 +VERSION="2.0.2"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Library for audio time-stretching and pitch-shifting."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="https://www.breakfastquay.com/rubberband/"
    1.13 +
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15 +WGET_URL="https://breakfastquay.com/files/releases/$TARBALL"
    1.16 +
    1.17 +DEPENDS="fftw gcc83-lib-base ladspa libsamplerate libsndfile lv2 vamp-sdk"
    1.18 +BUILD_DEPENDS="fftw-dev gcc83 ladspa-dev libatomic libsamplerate-dev
    1.19 +	libsndfile-dev lv2 meson vamp-sdk-dev"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	export	CC=gcc-83
    1.25 +	export	CXX=g++-83
    1.26 +
    1.27 +	# mit meson und ninja
    1.28 +	LDFLAGS="$LDFLAGS -latomic"	\
    1.29 +	meson	_build			\
    1.30 +		--prefix=/usr		\
    1.31 +		--sysconfdir=/etc	\
    1.32 +		--mandir=/usr/share/man	\
    1.33 +		--localstatedir=/var	\
    1.34 +		--buildtype=plain &&
    1.35 +	ninja	-C _build &&
    1.36 +	ninja	-C _build install
    1.37 +}
    1.38 +
    1.39 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 +genpkg_rules()
    1.41 +{
    1.42 +	mkdir -p $fs/usr
    1.43 +
    1.44 +	cp -a $install/usr/bin		$fs/usr
    1.45 +	cp -a $install/usr/lib		$fs/usr
    1.46 +	cp -a $install/usr/share	$fs/usr
    1.47 +}