summaryrefslogtreecommitdiff
path: root/system/xen/xen.SlackBuild
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2014-01-18 08:07:42 +0700
committerErik Hanson <erik@slackbuilds.org>2014-01-29 23:21:05 -0600
commit55605859ff4f36428ca4f314c7449009546569e8 (patch)
treed17e526a61be89690204b231d481b5345bfd6c14 /system/xen/xen.SlackBuild
parentc9df0cc2f74b193c6b745c9a2ae87e4399374157 (diff)
downloadslackbuilds-55605859ff4f36428ca4f314c7449009546569e8.tar.gz
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.SlackBuild21
1 files changed, 11 insertions, 10 deletions
diff --git a/system/xen/xen.SlackBuild b/system/xen/xen.SlackBuild
index 1d064b3d5c..e400293636 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 \