void-packages/srcpkgs/libvirt-glib/template

42 lines
1.3 KiB
Text

# Template file for 'libvirt-glib'
pkgname=libvirt-glib
version=0.1.7
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=39652c07d95f980ff30b39e0fd072e768fb85d778d65432da24b17dee9d36429
long_desc="
libvirt-glib wraps libvirt to provide a high-level object-oriented API better
suited for glib-based applications, via three libraries:
- libvirt-glib - GLib main loop integration and misc helper APIs
- libvirt-gconfig - GObjects for manipulating libvirt XML documents
- libvirt-gobject - GObjects for managing libvirt objects"
libvirt-glib-devel_package() {
depends="libglib-devel libxml2-devel libvirt-devel libvirt-glib>=${version}"
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() {
depends="python"
short_desc+=" - python bindings"
pkg_install() {
vmove "usr/lib/python*"
}
}