2012-05-17 16:45:28 +00:00
|
|
|
# Template file for 'libvirt-glib'
|
|
|
|
pkgname=libvirt-glib
|
2015-02-04 08:36:05 +00:00
|
|
|
version=0.2.0
|
2014-04-22 20:51:58 +00:00
|
|
|
revision=1
|
2015-02-04 08:36:05 +00:00
|
|
|
build_options="gir"
|
2012-05-17 16:45:28 +00:00
|
|
|
build_style=gnu-configure
|
2015-02-04 08:36:05 +00:00
|
|
|
configure_args="--disable-static $(vopt_enable gir introspection)"
|
|
|
|
hostmakedepends="automake libtool pkg-config intltool glib-devel
|
|
|
|
gettext-devel gtk-doc gobject-introspection vala-devel python-devel"
|
|
|
|
makedepends="libglib-devel libvirt-devel libxml2-devel python-devel"
|
2012-05-17 16:45:28 +00:00
|
|
|
short_desc="libvirt glib integration"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2012-05-17 16:45:28 +00:00
|
|
|
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"
|
2015-02-04 08:36:05 +00:00
|
|
|
checksum=30b7e0f224f9cdcf34c1b05b08803cb617d057613ee96395ae517f4ee6c44a0b
|
2013-04-13 08:15:49 +00:00
|
|
|
|
2015-02-04 08:36:05 +00:00
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
2014-04-04 16:38:45 +00:00
|
|
|
|
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
|
2015-02-04 08:36:05 +00:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
vmove usr/share/vala
|
|
|
|
fi
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
libvirt-glib-python_package() {
|
2014-04-04 16:34:29 +00:00
|
|
|
lib32disabled=yes
|
2013-04-13 08:15:49 +00:00
|
|
|
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*"
|
|
|
|
}
|
|
|
|
}
|