summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/graveman/graveman.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/system/graveman/graveman.SlackBuild b/system/graveman/graveman.SlackBuild
index f28f3dd52b..fd184cc5a9 100644
--- a/system/graveman/graveman.SlackBuild
+++ b/system/graveman/graveman.SlackBuild
@@ -26,17 +26,18 @@
# Added patch to support newer Sox versions.
PRGNAM=graveman
-VERSION=0.3.12.5
+VERSION=${VERSION:-0.3.12.5}
BUILD=${BUILD:-6}
TAG=${TAG:-_SBo}
-SRCVER=0.3.12-5 # this is the developer's source version
+# this is the developer's source version
+SRCVER=$( echo $VERSION | cut -d. -f1-3 )-$( echo $VERSION | cut -d. -f4 )
DOCS="AUTHORS COPYING ChangeLog NEWS README* THANKS TRANSLATE-HOWTO.fr"
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -47,8 +48,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"