wok-6.x view vamp-sdk/receipt @ rev 25375
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 30 08:30:06 2022 +0000 (2022-07-30) |
parents | e6c797b10002 |
children | 63508cf5d3dd |
line source
1 # SliTaz package receipt.
3 PACKAGE="vamp-sdk"
4 VERSION="2.9.0"
5 CATEGORY="development"
6 SHORT_DESC="Framework for audio analysis and feature extraction."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="BSD-3-Clause"
9 WEB_SITE="https://code.soundsoftware.ac.uk/projects/vamp-plugin-sdk"
11 SOURCE="vamp-plugin-sdk"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://code.soundsoftware.ac.uk/attachments/download/2588/$TARBALL"
15 DEPENDS="gcc83-lib-base libsndfile"
16 BUILD_DEPENDS="gcc83 libsndfile-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE/files 2>/dev/null | \
22 sed "/[0-9].tar..z/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q"
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 CC=gcc-83 \
30 CXX=g++-83 \
31 --prefix=/usr \
32 --sysconfdir=/etc \
33 --mandir=/usr/share/man \
34 --localstatedir=/var &&
35 make &&
36 make install DESTDIR=$DESTDIR
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 cook_copy_folders bin
43 cook_copy_files *.so*
44 }