wok view rubberband/receipt @ rev 25292
updated rubberband (2.0.2 -> 3.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jul 19 10:19:50 2022 +0100 (2022-07-19) |
parents | 9af0e03b8ad0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="rubberband"
4 VERSION="3.0.0"
5 CATEGORY="development"
6 SHORT_DESC="Library for audio time-stretching and pitch-shifting."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.breakfastquay.com/rubberband/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://breakfastquay.com/files/releases/$TARBALL"
14 DEPENDS="fftw gcc83-lib-base ladspa libatomic libsamplerate libsndfile
15 lv2 vamp-sdk"
16 BUILD_DEPENDS="fftw-dev gcc83 ladspa-dev libatomic libsamplerate-dev
17 libsndfile-dev lv2 meson vamp-sdk-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - $WEB_SITE 2>/dev/null | sed '/Library v/!d;s|.*v||;s| .*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 export CC=gcc-83
29 export CXX=g++-83
31 LDFLAGS="$LDFLAGS -latomic" \
32 meson _build \
33 --prefix=/usr \
34 --sysconfdir=/etc \
35 --mandir=/usr/share/man \
36 --localstatedir=/var \
37 --buildtype=plain &&
38 ninja -C _build &&
39 ninja -C _build install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 cook_copy_folders bin
46 cook_copy_folders lib
47 cook_copy_folders share
48 }