aboutsummaryrefslogtreecommitdiff
path: root/audio/clam_voice2midi
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2011-05-01 10:16:48 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-05-03 09:08:22 -0500
commit603430084798efd3a4b4b917e663dbcad18afea4 (patch)
treece7cc4631284e9b204b1e3dd5ebd4069c2986c1a /audio/clam_voice2midi
parent66678643e342703647925c88bbd64d9d14ebad37 (diff)
audio/clam_voice2midi: ARCH fixes and cleanup.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'audio/clam_voice2midi')
-rw-r--r--audio/clam_voice2midi/clam_voice2midi.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/audio/clam_voice2midi/clam_voice2midi.SlackBuild b/audio/clam_voice2midi/clam_voice2midi.SlackBuild
index c540c3dba4837..80ca455c17fa5 100644
--- a/audio/clam_voice2midi/clam_voice2midi.SlackBuild
+++ b/audio/clam_voice2midi/clam_voice2midi.SlackBuild
@@ -6,14 +6,10 @@
PRGNAM=clam_voice2midi
VERSION=${VERSION:-0.3.10}
-ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
+SRCNAM=Voice2MIDI
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=Voice2MIDI
-
set -e
rm -rf $PKG