2012-05-17 16:45:28 +00:00
|
|
|
# Template file for 'libvirt-glib'
|
|
|
|
pkgname=libvirt-glib
|
2013-08-07 08:19:45 +00:00
|
|
|
version=0.1.7
|
2014-02-21 10:17:27 +00:00
|
|
|
revision=2
|
2012-05-17 16:45:28 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--disable-static"
|
2013-08-07 08:38:51 +00:00
|
|
|
hostmakedepends="pkg-config intltool gobject-introspection"
|
2013-04-13 08:15:49 +00:00
|
|
|
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"
|
2013-08-07 08:19:45 +00:00
|
|
|
checksum=39652c07d95f980ff30b39e0fd072e768fb85d778d65432da24b17dee9d36429
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
libvirt-glib-devel_package() {
|
2014-02-21 10:17:27 +00:00
|
|
|
depends="libglib-devel libxml2-devel libvirt-devel ${sourcepkg}>=${version}_${revision}"
|
2013-05-14 07:33:32 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-08-07 08:19:45 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 08:15:49 +00:00
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
vmove usr/share/vala
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libvirt-glib-python_package() {
|
|
|
|
depends="python"
|
2013-05-14 07:33:32 +00:00
|
|
|
short_desc+=" - python bindings"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/python*"
|
|
|
|
}
|
|
|
|
}
|