void-packages/srcpkgs/lilv/template

46 lines
1.2 KiB
Plaintext

# Template file for 'lilv'
pkgname=lilv
version=0.14.4
revision=3
build_style=waf
configure_args="--dyn-manifest"
hostmakedepends="pkg-config python"
makedepends="python-devel serd-devel>=0.18.0 sord-devel sratom-devel>=0.4.0 lv2"
short_desc="A simple yet powerful C API for using LV2 plugins"
maintainer="davehome <davehome@redthumb.info.tm>"
license="ISC"
homepage="http://drobilla.net/software/lilv/"
distfiles="http://download.drobilla.net/${pkgname}-${version}.tar.bz2"
checksum=4a92b3961f1483370509200741c33e826e4205308bee09923d0fd938653fdf8b
post_install() {
vmkdir usr/share/bash-completion/completions
mv ${DESTDIR}/usr/etc/bash_completion.d/* ${DESTDIR}/usr/share/bash-completion/completions
}
liblilv_package() {
short_desc+=" - Runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
chmod 755 ${PKGDESTDIR}/usr/lib/*.so*
}
}
lilv-bash-completion_package() {
depends="bash-completion lilv"
short_desc+=" - Bash completion for Lilv"
pkg_install() {
vmove usr/share/bash-completion
}
}
lilv-devel_package() {
depends="sord-devel liblilv>=${version}_${revision}"
short_desc+=" - Development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}