void-packages/srcpkgs/lilv/template

46 lines
1.2 KiB
Text
Raw Normal View History

# Template file for 'lilv'
pkgname=lilv
2014-10-28 11:05:22 +00:00
version=0.20.0
revision=1
build_style=waf
2012-09-22 07:06:15 +00:00
configure_args="--dyn-manifest"
2014-02-21 10:49:33 +00:00
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="Juan RP <xtraeme@gmail.com>"
license="ISC"
homepage="http://drobilla.net/software/lilv/"
distfiles="http://download.drobilla.net/${pkgname}-${version}.tar.bz2"
2014-10-28 11:05:22 +00:00
checksum=428a39f1265d44c55f2604829a12ade0ea13e1a1022ff937ca2a9ad227bd422a
2014-02-21 10:49:33 +00:00
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"
2013-04-15 15:35:43 +00:00
pkg_install() {
2014-02-21 10:49:33 +00:00
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() {
2014-02-21 10:49:33 +00:00
vmove usr/share/bash-completion
}
}
lilv-devel_package() {
2014-02-21 10:49:33 +00:00
depends="sord-devel liblilv>=${version}_${revision}"
short_desc+=" - Development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2014-02-21 10:49:33 +00:00
vmove "usr/lib/*.so"
}
}