wok-current view rubberband/receipt @ rev 24447
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 14 17:51:14 2022 +0000 (2022-02-14) |
parents | 46bb13b9af54 |
children | 67cb30289e9b |
line source
1 # SliTaz package receipt.
3 PACKAGE="rubberband"
4 VERSION="2.0.2"
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 libsamplerate libsndfile lv2 vamp-sdk"
15 BUILD_DEPENDS="fftw-dev gcc83 ladspa-dev libatomic libsamplerate-dev
16 libsndfile-dev lv2 meson vamp-sdk-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | sed '/Library v/!d;s|.*v||;s| .*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export CC=gcc-83
28 export CXX=g++-83
30 # mit meson und ninja
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 mkdir -p $fs/usr
47 cp -a $install/usr/bin $fs/usr
48 cp -a $install/usr/lib $fs/usr
49 cp -a $install/usr/share $fs/usr
50 }