# Template file for 'libvirt'
pkgname=libvirt
version=0.8.8
distfiles="http://libvirt.org/sources/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--without-hal"
make_build_args="POD2MAN=/usr/lib/perl5/core_perl/bin/pod2man"
short_desc="The virtualization API"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=030aea3728917053555bec98d93d2855e8a603b758c0b2a5d57ac48b4f39e113
long_desc="
 libvirt is:
    * A toolkit to interact with the virtualization capabilities of recent
      versions of Linux (and other OSes).
    * Free software available under the GNU Lesser General Public License.
    * A long term stable C API
    * A set of bindings for common languages
    * A CIM provider for the DMTF virtualization schema
    * A QMF agent for the AMQP/QPid messaging system"

subpackages="$pkgname-devel $pkgname-python"

conf_files="
/etc/libvirt/qemu.conf
/etc/libvirt/lxc.conf
/etc/libvirt/libvirtd.conf
/etc/sasl2/libvirt.conf"

Add_dependency run glibc
Add_dependency run libcap-ng
Add_dependency run libnl
Add_dependency run gnutls
Add_dependency run libgcrypt
Add_dependency run libsasl
Add_dependency run xen
Add_dependency run libcurl
Add_dependency run libpcap
Add_dependency run libxml2
Add_dependency run libparted
Add_dependency run device-mapper
Add_dependency run dbus-libs
Add_dependency run libudev
Add_dependency run libpciaccess
Add_dependency run avahi-libs
Add_dependency run readline
Add_dependency run polkit

Add_dependency build libcap-ng-devel
Add_dependency build libnl-devel
Add_dependency build gnutls-devel
Add_dependency build libgcrypt-devel
Add_dependency build libsasl-devel
Add_dependency build xen-devel
Add_dependency build libcurl-devel
Add_dependency build libpcap-devel
Add_dependency build libxml2-devel
Add_dependency build libparted-devel
Add_dependency build device-mapper-devel
Add_dependency build dbus-devel
Add_dependency build libudev-devel
Add_dependency build libpciaccess-devel
Add_dependency build avahi-libs-devel
Add_dependency build readline-devel
Add_dependency build polkit-devel
