diff --git a/srcpkgs/xen/template b/srcpkgs/xen/template index 723bb27892..a2c0bfc6a5 100644 --- a/srcpkgs/xen/template +++ b/srcpkgs/xen/template @@ -2,11 +2,11 @@ pkgname=xen version=4.2.2 wrksrc=xen-${version} -revision=1 +revision=2 hostmakedepends="which wget bison pkg-config" makedepends="lzo-devel openssl-devel e2fsprogs-devel zlib-devel gnutls-devel>=3.1.5 libbluetooth-devel pciutils-devel libX11-devel libXext-devel SDL-devel MesaLib-devel - ncurses-devel liblzma-devel python-devel yajl-devel libglib-devel iproute2 + ncurses-devel liblzma-devel python-devel yajl-devel libuuid-devel libglib-devel iproute2 bridge-utils dev86 acpica-utils" if [ "${XBPS_MACHINE}" = "x86_64" ]; then makedepends+=" gcc-multilib" @@ -23,7 +23,7 @@ long_desc=" do_configure() { unset CC LD AR AS RANLIB CPP CFLAGS CPPFLAGS LDFLAGS - ./configure --prefix=/usr + ./configure ${configure_args} } do_build() { @@ -48,7 +48,7 @@ do_install() { cd ${wrksrc} fi unset CC LD AR AS RANLIB CPP CFLAGS CPPFLAGS LDFLAGS - make DESTDIR=${DESTDIR} install-xen install-tools + make DESTDIR=${DESTDIR} install # Move example config files into correct directory. vmkdir usr/share/examples/xen @@ -64,6 +64,8 @@ do_install() { rm -rf ${DESTDIR}/usr/share/qemu-xen rm -f ${DESTDIR}/boot/xen{,-4,-4.2}.gz rm -f ${DESTDIR}/usr/sbin/xen-python-path + rm -f ${DESTDIR}/{install,COPYING,README,usr/lib/lib} + rm -rf ${DESTDIR}/etc/udev # Move bash-completion to the correct dir. vmkdir usr/share/bash-completion/completions