libvirt: New package. WIP
This commit is contained in:
60
mingw-w64-libvirt/PKGBUILD
Normal file
60
mingw-w64-libvirt/PKGBUILD
Normal file
@@ -0,0 +1,60 @@
|
||||
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
|
||||
|
||||
_realname=libvirt
|
||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
|
||||
pkgver=1.2.9
|
||||
pkgrel=1
|
||||
pkgdesc="Windows libvirt virtualization library (mingw-w64)"
|
||||
arch=('any')
|
||||
url="http://libvirt.org"
|
||||
license=('LGPL2')
|
||||
depends=("${MINGW_PACKAGE_PREFIX}-gnutls"
|
||||
"${MINGW_PACKAGE_PREFIX}-libxml2"
|
||||
"${MINGW_PACKAGE_PREFIX}-python2"
|
||||
"${MINGW_PACKAGE_PREFIX}-libgcrypt"
|
||||
"${MINGW_PACKAGE_PREFIX}-libgpg-error"
|
||||
"${MINGW_PACKAGE_PREFIX}-gettext"
|
||||
"${MINGW_PACKAGE_PREFIX}-curl"
|
||||
"${MINGW_PACKAGE_PREFIX}-portablexdr")
|
||||
makedepends=("${MINGW_PACKAGE_PREFIX}-gcc" "${MINGW_PACKAGE_PREFIX}-pkg-config")
|
||||
options=('strip' 'staticlibs')
|
||||
source=(ftp://libvirt.org/libvirt/${_realname}-${pkgver}.tar.gz)
|
||||
md5sums=('f017075995062ff1d15577b0b093d02e')
|
||||
|
||||
build() {
|
||||
mkdir -p "${srcdir}/build-${MINGW_CHOST}"
|
||||
cd "${srcdir}/build-${MINGW_CHOST}"
|
||||
"${srcdir}"/${_realname}-${pkgver}/configure \
|
||||
--enable-shared \
|
||||
--enable-static \
|
||||
--prefix=${MINGW_PREFIX} \
|
||||
--build=${MINGW_CHOST} \
|
||||
--host=${MINGW_CHOST} \
|
||||
--target=${MINGW_CHOST} \
|
||||
--without-xen \
|
||||
--without-qemu \
|
||||
--without-openvz \
|
||||
--without-lxc \
|
||||
--without-vbox \
|
||||
--without-xenapi \
|
||||
--without-sasl \
|
||||
--without-avahi \
|
||||
--without-polkit \
|
||||
--without-libvirtd \
|
||||
--without-uml \
|
||||
--without-phyp \
|
||||
--without-esx \
|
||||
--without-hyperv \
|
||||
--without-vmware \
|
||||
--without-parallels \
|
||||
--without-netcf \
|
||||
--without-audit \
|
||||
--without-dtrace \
|
||||
--enable-expensive-tests
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/build-${MINGW_CHOST}
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
Reference in New Issue
Block a user