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.SlackBuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/development/cc65/cc65.SlackBuild b/development/cc65/cc65.SlackBuild
index 0adcf1b02941..329120078601 100644
--- a/development/cc65/cc65.SlackBuild
+++ b/development/cc65/cc65.SlackBuild
@@ -1,11 +1,13 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cc65
# Written by B. Watson (yalhcru@gmail.com)
+# Licensed under the WTFPL. See http://sam.zoy.org/wtfpl/ for details.
+
PRGNAM=cc65
-VERSION=${VERSION:-2.13.2}
+VERSION=${VERSION:-2.13.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -52,6 +54,11 @@ find . -name gcc.mak | xargs perl -i -pe \
'if(/^CFLAGS\s*=/) { s/-g\b//; s/-O\d/'"$SLKCFLAGS"'/; }'
make -j1 -f make/gcc.mak prefix=/usr
+
+# for some reason, the install script isn't creating this directory in 2.13.3,
+# though it used to in 2.13.2
+mkdir -p $PKG/usr/lib/cc65/tgi
+
make -j1 -f make/gcc.mak install prefix=$PKG/usr docdir=$PKG/usr/doc/$PRGNAM-$VERSION
# binaries already stripped, no man/info pages