void-packages/srcpkgs/liblastfm/template
2017-01-15 02:45:21 +01:00

25 lines
727 B
Bash

# Template file for 'liblastfm'
pkgname=liblastfm
version=1.0.9
revision=1
build_style=cmake
makedepends="qt-devel libsamplerate-devel fftw-devel"
short_desc="A Qt4 C++ library for the Last.fm webservices"
maintainer="Logen K <logen@sudotask.com>"
license="GPL-3"
homepage="https://github.com/lastfm/liblastfm"
distfiles="https://github.com/lastfm/${pkgname}/archive/${version}.tar.gz"
checksum=5276b5fe00932479ce6fe370ba3213f3ab842d70a7d55e4bead6e26738425f7b
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt-host-tools qt-devel"
fi
liblastfm-devel_package() {
depends="liblastfm>=${version}_${revision} $makedepends"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}