void-packages/srcpkgs/libechonest/template
2017-01-15 03:15:05 +01:00

27 lines
795 B
Bash

# Template file for 'libechonest'
pkgname=libechonest
version=2.3.1
revision=2
build_style=cmake
hostmakedepends="qt-qmake"
makedepends="qjson-devel boost-devel"
short_desc="A C++/Qt wrapper around the wonderful echo nest api"
maintainer="Duncan Overbruck <mail@duncano.de>"
license="GPL-2"
homepage="https://projects.kde.org/projects/playground/libs/libechonest"
distfiles="http://files.lfranchi.com/${pkgname}-${version}.tar.bz2"
checksum=56756545fd1cb3d9067479f52215b6157c1ced2bc82b895e72fdcd9bebb47889
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt-host-tools"
fi
libechonest-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}