void-packages/srcpkgs/suil/template

33 lines
814 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
post_install() {
vlicense COPYING
}
suil-devel_package() {
depends="suil>=${version}_${revision}"
short_desc+=" - Development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}