wok view chromaprint/receipt @ rev 21753

created recipes for chromaprint and chromaprint-dev 1.4.3
author Hans-G?nter Theisgen
date Wed Jun 19 14:43:09 2019 +0100 (5 months ago)
parents
children abe6b9e04ee5
line source
1 # SliTaz package receipt.
3 PACKAGE="chromaprint"
4 VERSION="1.4.3"
5 CATEGORY="multimedia"
6 SHORT_DESC="Library that implements a custom algorithm for extracting fingerprints from any audio source."
7 MAINTAINER="developer@slitaz.org"
8 LICENSE="LGPLv2+"
9 WEB_SITE="https://acoustid.org/chromaprint"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/acoustid/$PACKAGE/releases/download/v$VERSION/$TARBALL"
14 DEPENDS="gcc83-lib-base"
15 BUILD_DEPENDS="cmake ffmpeg-dev gcc83"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export CC=gcc-83
21 export CXX=g++-83
23 cmake . \
24 -DCMAKE_BUILD_TYPE=Release \
25 -DBUILD_TOOLS=ON \
26 -DCMAKE_INSTALL_PREFIX=/usr &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }