diff options
author | Mario Preksavec <mario@slackware.hr> | 2014-01-18 08:07:42 +0700 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-01-29 23:21:05 -0600 |
commit | 55605859ff4f36428ca4f314c7449009546569e8 (patch) | |
tree | d17e526a61be89690204b231d481b5345bfd6c14 /system/xen/xen.SlackBuild | |
parent | c9df0cc2f74b193c6b745c9a2ae87e4399374157 (diff) |
system/xen: Remove support for x86
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/xen/xen.SlackBuild')
-rw-r--r-- | system/xen/xen.SlackBuild | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/system/xen/xen.SlackBuild b/system/xen/xen.SlackBuild index 1d064b3d5c13e..e400293636f21 100644 --- a/system/xen/xen.SlackBuild +++ b/system/xen/xen.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for xen -# Copyright 2010-2013 Mario Preksavec, Zagreb, HR +# Copyright 2010, 2011, 2013, 2014 Mario Preksavec, Zagreb, HR # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,14 +24,13 @@ PRGNAM=xen VERSION=${VERSION:-4.3.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; + x86_64) ARCH=x86_64 ;; + *) echo "Unsupported architecture detected ($ARCH)"; exit ;; esac fi @@ -41,8 +40,7 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ $ARCH == "x86_64" ] && [ ! -f /usr/include/gnu/stubs-32.h ]; then - -cat << EOF + cat << EOF For a 32bit guest support 32bit libs are required to build the stub-domain. This is usualy done by installing multilib, but @@ -56,7 +54,7 @@ EOF exit fi -if [ "$ARCH" = "x86_64" ]; then +if [ $ARCH == "x86_64" ]; then LIBDIRSUFFIX="64" else LIBDIRSUFFIX="" @@ -72,8 +70,8 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; @@ -107,18 +105,21 @@ make install-xen \ mandir=/usr/man \ MANDIR=/usr/man \ DESTDIR=$PKG + make install-tools \ docdir=/usr/doc/$PRGNAM-$VERSION \ DOCDIR=/usr/doc/$PRGNAM-$VERSION \ mandir=/usr/man \ MANDIR=/usr/man \ DESTDIR=$PKG + make install-stubdom \ docdir=/usr/doc/$PRGNAM-$VERSION \ DOCDIR=/usr/doc/$PRGNAM-$VERSION \ mandir=/usr/man \ MANDIR=/usr/man \ DESTDIR=$PKG + make install-docs \ docdir=/usr/doc/$PRGNAM-$VERSION \ DOCDIR=/usr/doc/$PRGNAM-$VERSION \ |