2012-05-17 16:45:28 +00:00
|
|
|
# Template file for 'libvirt-glib'
|
|
|
|
pkgname=libvirt-glib
|
2012-12-04 19:37:02 +00:00
|
|
|
version=0.1.4
|
2013-04-13 08:15:49 +00:00
|
|
|
revision=2
|
2012-05-17 16:45:28 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--disable-static"
|
2013-04-13 08:15:49 +00:00
|
|
|
hostmakedepends="pkg-config gobject-introspection"
|
|
|
|
makedepends="libglib-devel libvirt-devel libxml2-devel python-devel vala-devel"
|
2012-05-17 16:45:28 +00:00
|
|
|
short_desc="libvirt glib integration"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://libvirt.org"
|
|
|
|
license="LGPL-2.1"
|
2012-12-04 19:37:02 +00:00
|
|
|
distfiles="http://libvirt.org/sources/glib/$pkgname-$version.tar.gz"
|
|
|
|
checksum=92935ff19424a75db85d13f30e28f418a38d81565cf1584945dda145a03886a4
|
2012-05-17 16:45:28 +00:00
|
|
|
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"
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
libvirt-glib-devel_package() {
|
|
|
|
depends="libglib-devel libxml2-devel libvirt-devel libvirt-glib>=${version}"
|
|
|
|
short_desc="${short_desc} - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
vmove usr/share/vala
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libvirt-glib-python_package() {
|
|
|
|
depends="python"
|
|
|
|
short_desc="${short_desc} - python bindings"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/python*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libvirt-glib_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|