wok 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 (2019-06-19)
parents 30270fe0d1b3
children 8b9f768b711e
files chromaprint-dev/receipt chromaprint/description.txt chromaprint/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/chromaprint-dev/receipt	Wed Jun 19 14:43:09 2019 +0100
     1.3 @@ -0,0 +1,22 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="chromaprint-dev"
     1.7 +VERSION="1.4.3"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="Library that implements a custom algorithm for extracting fingerprints from any audio source - development files."
    1.10 +MAINTAINER="developer@slitaz.org"
    1.11 +LICENSE="LGPLv2+"
    1.12 +WEB_SITE="https://acoustid.org/chromaprint"
    1.13 +
    1.14 +DEPENDS="chromaprint pkg-config"
    1.15 +WANTED="chromaprint"
    1.16 +
    1.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 +genpkg_rules()
    1.19 +{
    1.20 +	mkdir -p $fs/usr/lib
    1.21 +	mkdir -p $fs/usr/include	
    1.22 +
    1.23 +	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.24 +	cp -a $install/usr/include		$fs/usr
    1.25 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/chromaprint/description.txt	Wed Jun 19 14:43:09 2019 +0100
     2.3 @@ -0,0 +1,3 @@
     2.4 +Chromaprint is the core component of the AcoustID project.
     2.5 +It's a client-side library that implements a custom algorithm
     2.6 +for extracting fingerprints from any audio source.
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/chromaprint/receipt	Wed Jun 19 14:43:09 2019 +0100
     3.3 @@ -0,0 +1,38 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="chromaprint"
     3.7 +VERSION="1.4.3"
     3.8 +CATEGORY="multimedia"
     3.9 +SHORT_DESC="Library that implements a custom algorithm for extracting fingerprints from any audio source."
    3.10 +MAINTAINER="developer@slitaz.org"
    3.11 +LICENSE="LGPLv2+"
    3.12 +WEB_SITE="https://acoustid.org/chromaprint"
    3.13 +
    3.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.15 +WGET_URL="https://github.com/acoustid/$PACKAGE/releases/download/v$VERSION/$TARBALL"
    3.16 +
    3.17 +DEPENDS="gcc83-lib-base"
    3.18 +BUILD_DEPENDS="cmake ffmpeg-dev gcc83"
    3.19 +
    3.20 +# Rules to configure and make the package.
    3.21 +compile_rules()
    3.22 +{
    3.23 +	export	CC=gcc-83
    3.24 +	export	CXX=g++-83
    3.25 +
    3.26 +	cmake	.				\
    3.27 +		-DCMAKE_BUILD_TYPE=Release	\
    3.28 +		-DBUILD_TOOLS=ON		\
    3.29 +		-DCMAKE_INSTALL_PREFIX=/usr &&
    3.30 +	make &&
    3.31 +	make DESTDIR=$DESTDIR install
    3.32 +}
    3.33 +
    3.34 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.35 +genpkg_rules()
    3.36 +{
    3.37 +	mkdir -p $fs/usr/lib
    3.38 +
    3.39 +	cp -a $install/usr/bin		$fs/usr
    3.40 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    3.41 +}