wok-6.x annotate 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
rev   line source
Hans-G?nter@24365 1 # SliTaz package receipt.
Hans-G?nter@24365 2
Hans-G?nter@24365 3 PACKAGE="rubberband"
Hans-G?nter@24365 4 VERSION="2.0.2"
Hans-G?nter@24365 5 CATEGORY="development"
Hans-G?nter@24365 6 SHORT_DESC="Library for audio time-stretching and pitch-shifting."
Hans-G?nter@24365 7 MAINTAINER="maintainer@slitaz.org"
Hans-G?nter@24365 8 LICENSE="GPL2"
Hans-G?nter@24365 9 WEB_SITE="https://www.breakfastquay.com/rubberband/"
Hans-G?nter@24365 10
Hans-G?nter@24365 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
Hans-G?nter@24365 12 WGET_URL="https://breakfastquay.com/files/releases/$TARBALL"
Hans-G?nter@24365 13
Hans-G?nter@24365 14 DEPENDS="fftw gcc83-lib-base ladspa libsamplerate libsndfile lv2 vamp-sdk"
Hans-G?nter@24365 15 BUILD_DEPENDS="fftw-dev gcc83 ladspa-dev libatomic libsamplerate-dev
Hans-G?nter@24365 16 libsndfile-dev lv2 meson vamp-sdk-dev"
Hans-G?nter@24365 17
Hans-G?nter@24365 18 # Rules to configure and make the package.
Hans-G?nter@24365 19 compile_rules()
Hans-G?nter@24365 20 {
Hans-G?nter@24365 21 export CC=gcc-83
Hans-G?nter@24365 22 export CXX=g++-83
Hans-G?nter@24365 23
Hans-G?nter@24365 24 # mit meson und ninja
Hans-G?nter@24365 25 LDFLAGS="$LDFLAGS -latomic" \
Hans-G?nter@24365 26 meson _build \
Hans-G?nter@24365 27 --prefix=/usr \
Hans-G?nter@24365 28 --sysconfdir=/etc \
Hans-G?nter@24365 29 --mandir=/usr/share/man \
Hans-G?nter@24365 30 --localstatedir=/var \
Hans-G?nter@24365 31 --buildtype=plain &&
Hans-G?nter@24365 32 ninja -C _build &&
Hans-G?nter@24365 33 ninja -C _build install
Hans-G?nter@24365 34 }
Hans-G?nter@24365 35
Hans-G?nter@24365 36 # Rules to gen a SliTaz package suitable for Tazpkg.
Hans-G?nter@24365 37 genpkg_rules()
Hans-G?nter@24365 38 {
Hans-G?nter@24365 39 mkdir -p $fs/usr
Hans-G?nter@24365 40
Hans-G?nter@24365 41 cp -a $install/usr/bin $fs/usr
Hans-G?nter@24365 42 cp -a $install/usr/lib $fs/usr
Hans-G?nter@24365 43 cp -a $install/usr/share $fs/usr
Hans-G?nter@24365 44 }