summaryrefslogtreecommitdiff
path: root/development/cc65/cc65.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2010-05-13 00:24:19 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-13 00:24:19 +0200
commit7e26ae149da448d096ea5ff53ae6449e250e2062 (patch)
tree766cef86480df8adc093b72f5c1ca0e703255f19 /development/cc65/cc65.SlackBuild
parent6c2b34535f772e45d6832bec72af555c8a93f1b1 (diff)
downloadslackbuilds-7e26ae149da448d096ea5ff53ae6449e250e2062.tar.gz
development/cc65: Updated for version 2.13.1
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 91d7b854c9..ac426e7385 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}