audio/clam: ARCH fixes and cleanup.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
dsomero 2011-05-01 10:14:01 -04:00 committed by Robby Workman
parent db17b610c6
commit db6b106165

View file

@ -6,14 +6,10 @@
PRGNAM=clam
VERSION=${VERSION:-1.4.0}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
SRCNAM=CLAM
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@ -23,6 +19,11 @@ if [ -z "$ARCH" ]; then
esac
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
@ -37,8 +38,6 @@ else
LIBDIRSUFFIX=""
fi
SRCNAM=CLAM
set -e
rm -rf $PKG