aboutsummaryrefslogtreecommitdiff
path: root/audio/clam
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2011-05-01 10:14:01 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-05-03 09:08:22 -0500
commitdb6b106165e577f9e5d66238db19710987c65788 (patch)
treee90097a833094d9aed2c68e84ab9f4b5882137cb /audio/clam
parentdb17b610c6576def32d9a26e1b62f4fb2fd15b2c (diff)
audio/clam: ARCH fixes and cleanup.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'audio/clam')
-rw-r--r--audio/clam/clam.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/audio/clam/clam.SlackBuild b/audio/clam/clam.SlackBuild
index f770c66a7e330..3e5a01a7bb47d 100644
--- a/audio/clam/clam.SlackBuild
+++ b/audio/clam/clam.SlackBuild
@@ -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