void-packages/srcpkgs/virt-manager/template
2013-01-12 15:48:26 +01:00

26 lines
947 B
Text

# Template file for 'virt-manager'
pkgname=virt-manager
version=0.9.4
revision=1
build_style=gnu-configure
make_install_args="GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1"
short_desc="Desktop user interface for managing virtual machines"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://virt-manager.et.redhat.com"
distfiles="http://virt-manager.et.redhat.com/download/sources/$pkgname/$pkgname-$version.tar.gz"
checksum=dc8c553beeb15bb30cd5517b2105bcc47cf482b03523e522733c52b0e5df0fc0
noarch=yes
pycompile_dirs="/usr/share/virt-manager"
depends="dbus-python pygtk libvirt-python virtinst gtk2-vnc-python
python-gconf netcat libxml2-python"
makedepends="pkg-config intltool GConf-devel"
post_install() {
# Set-up schema file in correct location
vmkdir usr/share/gconf/schemas
gconf-merge-schema ${DESTDIR}/usr/share/gconf/schemas/$pkgname.schemas \
${DESTDIR}/etc/gconf/schemas/*.schemas
rm -rf ${DESTDIR}/etc/gconf
}