libraries/xerces-c: Fixed (well, "added" actually) ARCH detection

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Robby Workman 2011-12-17 22:14:47 -06:00
parent 140fa35076
commit 27f68e1684

View file

@ -24,10 +24,17 @@
PRGNAM=xerces-c
VERSION=2.8.0
ARCH=${ARCH:-i486}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM