wok-6.x view vamp-sdk/receipt @ rev 25492
Up foomatic-db (4.0-20221117)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 18 09:54:27 2022 +0000 (21 months ago) |
parents | 9af0e03b8ad0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="vamp-sdk"
4 VERSION="2.10.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/2691/$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 }