wok annotate rubberband/receipt @ rev 24599
updated giac (1.5.0.85 -> 1.7.0.47)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 02 07:39:53 2022 +0100 (2022-03-02) |
parents | 46bb13b9af54 |
children | 67cb30289e9b |
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 |
pascal@24373 | 18 # What is the latest version available today? |
pascal@24373 | 19 current_version() |
pascal@24373 | 20 { |
pascal@24373 | 21 wget -O - $WEB_SITE 2>/dev/null | sed '/Library v/!d;s|.*v||;s| .*||;q' |
pascal@24373 | 22 } |
pascal@24373 | 23 |
Hans-G?nter@24365 | 24 # Rules to configure and make the package. |
Hans-G?nter@24365 | 25 compile_rules() |
Hans-G?nter@24365 | 26 { |
Hans-G?nter@24365 | 27 export CC=gcc-83 |
Hans-G?nter@24365 | 28 export CXX=g++-83 |
Hans-G?nter@24365 | 29 |
Hans-G?nter@24365 | 30 # mit meson und ninja |
Hans-G?nter@24365 | 31 LDFLAGS="$LDFLAGS -latomic" \ |
Hans-G?nter@24365 | 32 meson _build \ |
Hans-G?nter@24365 | 33 --prefix=/usr \ |
Hans-G?nter@24365 | 34 --sysconfdir=/etc \ |
Hans-G?nter@24365 | 35 --mandir=/usr/share/man \ |
Hans-G?nter@24365 | 36 --localstatedir=/var \ |
Hans-G?nter@24365 | 37 --buildtype=plain && |
Hans-G?nter@24365 | 38 ninja -C _build && |
Hans-G?nter@24365 | 39 ninja -C _build install |
Hans-G?nter@24365 | 40 } |
Hans-G?nter@24365 | 41 |
Hans-G?nter@24365 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@24365 | 43 genpkg_rules() |
Hans-G?nter@24365 | 44 { |
Hans-G?nter@24365 | 45 mkdir -p $fs/usr |
Hans-G?nter@24365 | 46 |
Hans-G?nter@24365 | 47 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@24365 | 48 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@24365 | 49 cp -a $install/usr/share $fs/usr |
Hans-G?nter@24365 | 50 } |