libvirt: update to 1.2.2.
This commit is contained in:
parent
ca2eeec0c0
commit
906189ab55
@ -1 +0,0 @@
|
|||||||
libvirt
|
|
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'libvirt'
|
# Template file for 'libvirt'
|
||||||
pkgname=libvirt
|
pkgname=libvirt
|
||||||
version=1.1.1
|
version=1.2.2
|
||||||
revision=2
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--without-hal --with-storage-lvm --without-xen
|
configure_args="--without-hal --with-storage-lvm --without-xen
|
||||||
--disable-static --with-init-script=systemd --with-qemu-user=nobody
|
--disable-static --with-init-script=systemd --with-qemu-user=nobody
|
||||||
@ -13,7 +13,7 @@ maintainer="Juan RP <xtraeme@gmail.com>"
|
|||||||
homepage="http://libvirt.org"
|
homepage="http://libvirt.org"
|
||||||
license="LGPL-2.1"
|
license="LGPL-2.1"
|
||||||
distfiles="http://libvirt.org/sources/$pkgname-$version.tar.gz"
|
distfiles="http://libvirt.org/sources/$pkgname-$version.tar.gz"
|
||||||
checksum=dc6f1e1e15b9b190eaa706e76edabcfc94b239c012f5afc22b22357a4b3b22c2
|
checksum=a48377e307c5c21b67e43db99af909a23c33aff8cbbaa3361fd389eb047cbbc3
|
||||||
|
|
||||||
hostmakedepends="perl pkg-config"
|
hostmakedepends="perl pkg-config"
|
||||||
makedepends="readline-devel>=6.3 libcap-ng-devel libnl3-devel attr-devel
|
makedepends="readline-devel>=6.3 libcap-ng-devel libnl3-devel attr-devel
|
||||||
@ -43,9 +43,6 @@ make_dirs="
|
|||||||
/var/lib/libvirt/uml 0755 root root"
|
/var/lib/libvirt/uml 0755 root root"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# Move everything to /usr.
|
|
||||||
vmkdir usr/lib
|
|
||||||
mv ${DESTDIR}/lib/* ${DESTDIR}/usr/lib
|
|
||||||
rm -rf ${DESTDIR}/etc/sysconfig
|
rm -rf ${DESTDIR}/etc/sysconfig
|
||||||
# Remove unused stuff.
|
# Remove unused stuff.
|
||||||
rm -rf ${DESTDIR}/etc/logrotate.d
|
rm -rf ${DESTDIR}/etc/logrotate.d
|
||||||
@ -62,16 +59,5 @@ libvirt-devel_package() {
|
|||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
vmove "usr/lib/*.so"
|
vmove "usr/lib/*.so"
|
||||||
vmove usr/share/gtk-doc
|
vmove usr/share/gtk-doc
|
||||||
vmove usr/share/doc/libvirt-${version}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
libvirt-python_package() {
|
|
||||||
depends="python"
|
|
||||||
short_desc+=" - python bindings"
|
|
||||||
pycompile_module="libvirt.py libvirt_qemu.py"
|
|
||||||
pkg_install() {
|
|
||||||
vmove "usr/lib/python*"
|
|
||||||
vmove "usr/share/doc/libvirt-python*"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user