2012-05-17 18:45:28 +02:00
|
|
|
# Template file for 'libvirt-glib'
|
|
|
|
pkgname=libvirt-glib
|
2014-04-22 22:51:58 +02:00
|
|
|
version=0.1.8
|
|
|
|
revision=1
|
2012-05-17 18:45:28 +02:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--disable-static"
|
2013-08-07 10:38:51 +02:00
|
|
|
hostmakedepends="pkg-config intltool gobject-introspection"
|
2013-04-13 10:15:49 +02:00
|
|
|
makedepends="libglib-devel libvirt-devel libxml2-devel python-devel vala-devel"
|
2012-05-17 18:45:28 +02:00
|
|
|
short_desc="libvirt glib integration"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://libvirt.org"
|
|
|
|
license="LGPL-2.1"
|
2012-12-04 20:37:02 +01:00
|
|
|
distfiles="http://libvirt.org/sources/glib/$pkgname-$version.tar.gz"
|
2014-04-22 22:51:58 +02:00
|
|
|
checksum=da0e45952dbe1d5d9fde4f845f3a10763e7fed0b1e45906a46fdb74b777aa751
|
|
|
|
only_for_archs="x86_64 i686"
|
2013-04-13 10:15:49 +02:00
|
|
|
|
2014-04-04 18:38:45 +02:00
|
|
|
disable_parallel_build=yes
|
|
|
|
|
2013-04-13 10:15:49 +02:00
|
|
|
libvirt-glib-devel_package() {
|
2014-02-21 11:17:27 +01:00
|
|
|
depends="libglib-devel libxml2-devel libvirt-devel ${sourcepkg}>=${version}_${revision}"
|
2013-05-14 09:33:32 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-08-07 10:19:45 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 10:15:49 +02:00
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
vmove usr/share/vala
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libvirt-glib-python_package() {
|
2014-04-04 18:34:29 +02:00
|
|
|
lib32disabled=yes
|
2013-04-13 10:15:49 +02:00
|
|
|
depends="python"
|
2013-05-14 09:33:32 +02:00
|
|
|
short_desc+=" - python bindings"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/python*"
|
|
|
|
}
|
|
|
|
}
|