aboutsummaryrefslogtreecommitdiff
path: root/development/cc65/cc65.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/cc65/cc65.SlackBuild')
-rw-r--r--development/cc65/cc65.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/development/cc65/cc65.SlackBuild b/development/cc65/cc65.SlackBuild
index 91d7b854c92af..ac426e7385c6a 100644
--- a/development/cc65/cc65.SlackBuild
+++ b/development/cc65/cc65.SlackBuild
@@ -5,15 +5,15 @@
# Written by B. Watson (yalhcru@gmail.com)
PRGNAM=cc65
-VERSION=${VERSION:-2.12.0}
+VERSION=${VERSION:-2.13.1}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo} # For consistency's sake, use this
+TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp} # Drop the package in /tmp
+OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@@ -42,8 +42,8 @@ find . \
find . -name gcc.mak | xargs perl -i -pe \
'if(/^CFLAGS\s*=/) { s/-g\b//; s/-O\d/'"$SLKCFLAGS"'/; }'
-make -f make/gcc.mak prefix=/usr
-make -f make/gcc.mak install prefix=$PKG/usr docdir=$PKG/usr/doc/$PRGNAM-$VERSION
+make -j1 -f make/gcc.mak prefix=/usr
+make -j1 -f make/gcc.mak install prefix=$PKG/usr docdir=$PKG/usr/doc/$PRGNAM-$VERSION
# binaries already stripped, no man/info pages
@@ -56,4 +56,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}