void-packages/srcpkgs/suil/template
Jürgen Buchmüller cdf695d437 suil: fix cross
2017-01-15 11:27:14 +01:00

28 lines
790 B
Bash

# Template file for 'suil'
pkgname=suil
version=0.8.4
revision=1
build_style=waf
hostmakedepends="pkg-config python lv2"
makedepends="gtk+-devel qt-devel"
short_desc="Lightweight C library for loading and wrapping LV2 plugin UIs"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="BSD-style"
homepage="http://drobilla.net/software/suil/"
distfiles="http://download.drobilla.net/${pkgname}-${version}.tar.bz2"
checksum=6ef2247eaeaf3b5d7fc7a2728bcbca797d40586111c954bbc9d80805211d51ce
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt-host-tools qt-devel"
makedepends+=" lv2"
fi
suil-devel_package() {
depends="suil>=${version}_${revision}"
short_desc+=" - Development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}