void-packages/srcpkgs/libvirt-glib/template
2014-09-03 13:14:18 +02:00

38 lines
1 KiB
Text

# Template file for 'libvirt-glib'
pkgname=libvirt-glib
version=0.1.9
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config intltool gobject-introspection"
makedepends="libglib-devel libvirt-devel libxml2-devel python-devel vala-devel"
short_desc="libvirt glib integration"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://libvirt.org"
license="LGPL-2.1"
distfiles="http://libvirt.org/sources/glib/$pkgname-$version.tar.gz"
checksum=053b36260ea70d740e27fe99ac67d714d23cf93d563c3342fa00593ec185a958
disable_parallel_build=yes
libvirt-glib-devel_package() {
depends="libglib-devel libxml2-devel libvirt-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gtk-doc
vmove usr/share/gir-1.0
vmove usr/share/vala
}
}
libvirt-glib-python_package() {
lib32disabled=yes
depends="python"
short_desc+=" - python bindings"
pkg_install() {
vmove "usr/lib/python*"
}
}