summaryrefslogtreecommitdiff
path: root/audio/clam_annotator
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2011-05-01 10:15:46 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-05-03 09:08:22 -0500
commit66678643e342703647925c88bbd64d9d14ebad37 (patch)
tree8af9dc78c58990273b4b6a45bf9fc02664dbf48b /audio/clam_annotator
parentdb6b106165e577f9e5d66238db19710987c65788 (diff)
downloadslackbuilds-66678643e342703647925c88bbd64d9d14ebad37.tar.gz
audio/clam_annotator: ARCH fixes and cleanup.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'audio/clam_annotator')
-rw-r--r--audio/clam_annotator/clam_annotator.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/audio/clam_annotator/clam_annotator.SlackBuild b/audio/clam_annotator/clam_annotator.SlackBuild
index cec9083c43..bc1ca8a6e4 100644
--- a/audio/clam_annotator/clam_annotator.SlackBuild
+++ b/audio/clam_annotator/clam_annotator.SlackBuild
@@ -6,14 +6,10 @@
PRGNAM=clam_annotator
VERSION=${VERSION:-0.5.0}
-ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
+SRCNAM=Annotator
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=Annotator
-
set -e
rm -rf $PKG