xen: restrict only for x64 (32bit hypervisor unsupported anyway).

This commit is contained in:
Juan RP 2014-08-04 21:30:56 +02:00
parent 066584dd6c
commit 2e4e0b5442
1 changed files with 2 additions and 11 deletions

View File

@ -10,18 +10,14 @@ license="GPL-2"
distfiles="http://bits.xensource.com/oss-xen/release/$version/xen-$version.tar.gz" distfiles="http://bits.xensource.com/oss-xen/release/$version/xen-$version.tar.gz"
checksum=6910a504fe2ffe8db0e7a44756ce1c4c95e1ccbef942a1fc8da27aced5aac021 checksum=6910a504fe2ffe8db0e7a44756ce1c4c95e1ccbef942a1fc8da27aced5aac021
only_for_archs="i686 x86_64" only_for_archs="x86_64"
hostmakedepends="wget bison pkg-config git" hostmakedepends="wget bison pkg-config git"
makedepends=" makedepends="
libaio-devel lzo-devel libressl-devel e2fsprogs-devel zlib-devel gnutls-devel>=3.1.5 libaio-devel lzo-devel libressl-devel e2fsprogs-devel zlib-devel gnutls-devel>=3.1.5
libbluetooth-devel pciutils-devel libX11-devel libXext-devel SDL-devel MesaLib-devel libbluetooth-devel pciutils-devel libX11-devel libXext-devel SDL-devel MesaLib-devel
ncurses-devel liblzma-devel python-devel yajl-devel libuuid-devel libglib-devel ncurses-devel liblzma-devel python-devel yajl-devel libuuid-devel libglib-devel
dev86 acpica-utils pixman-devel" dev86 acpica-utils pixman-devel gcc-multilib"
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
makedepends+=" gcc-multilib"
fi
depends="iproute2 bridge-utils xen-hypervisor" depends="iproute2 bridge-utils xen-hypervisor"
@ -111,9 +107,6 @@ do_install() {
rm -f ${DESTDIR}/usr/share/examples/xen/xmexample* rm -f ${DESTDIR}/usr/share/examples/xen/xmexample*
} }
# This package is only generated on x86_64.
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
xen-hypervisor_package() { xen-hypervisor_package() {
short_desc="Xen Hypervisor" short_desc="Xen Hypervisor"
replaces="xen<4.3.1_2" replaces="xen<4.3.1_2"
@ -123,8 +116,6 @@ xen-hypervisor_package() {
} }
} }
fi # !x86_64
xen-devel_package() { xen-devel_package() {
short_desc+=" - development files" short_desc+=" - development files"
depends="xen-libs>=${version}_${revision}" depends="xen-libs>=${version}_${revision}"