summaryrefslogtreecommitdiff
path: root/development/cc65/cc65.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2012-12-21 21:18:41 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2012-12-21 21:27:27 +0100
commit56cd1c7b365ed354c695d3ae5958a1eb5eac360c (patch)
treebd90fedfa28c8c66c08a13f76c7a6f06be7e0e54 /development/cc65/cc65.SlackBuild
parentda1cca6f6b5e92b24290cde21cfe2e8fe9a1f482 (diff)
downloadslackbuilds-56cd1c7b365ed354c695d3ae5958a1eb5eac360c.tar.gz
development/cc65: Updated for version 2.13.3, added license.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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 0adcf1b029..3291200786 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