summaryrefslogtreecommitdiffstats
path: root/development/kforth
diff options
context:
space:
mode:
Diffstat (limited to 'development/kforth')
-rw-r--r--development/kforth/kforth.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/development/kforth/kforth.SlackBuild b/development/kforth/kforth.SlackBuild
index 28c512d4ac..c33bff9e37 100644
--- a/development/kforth/kforth.SlackBuild
+++ b/development/kforth/kforth.SlackBuild
@@ -5,7 +5,8 @@
# Written by G. Schoenmakers <gschoen@iinet.net.au>
PRGNAM=kforth
-VERSION=${VERSION:-1.5.2}
+VERSION=${VERSION:-1.5.2p1}
+SRCVER="$( echo $VERSION | cut -dp -f1 )"
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -29,9 +30,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$MODEL-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$SRCVER
+tar xvf $CWD/$PRGNAM-$MODEL-$SRCVER.tar.gz
+cd $PRGNAM-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -41,7 +42,6 @@ find -L . \
patch ForthVM.cpp $CWD/ForthVM.diff
patch Makefile $CWD/Makefile.diff
-VERSION=${VERSION}p1
make