summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 c540c3dba4..80ca455c17 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