aboutsummaryrefslogtreecommitdiff
path: root/development/cc65/cc65.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2018-01-03 14:57:13 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-06 06:55:43 +0700
commit68bd4849be8f3c2ef9da5afe6e90e16dadd6967f (patch)
tree641f6ee9a428856dbb08e41da5ab48b96c094c61 /development/cc65/cc65.SlackBuild
parent53843267b4d09f69d9dfed5438e3dadb69650725 (diff)
development/cc65: Updated for version 2.16_20180102.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'development/cc65/cc65.SlackBuild')
-rw-r--r--development/cc65/cc65.SlackBuild12
1 files changed, 9 insertions, 3 deletions
diff --git a/development/cc65/cc65.SlackBuild b/development/cc65/cc65.SlackBuild
index 4878b29fb576..0cf38ce354b8 100644
--- a/development/cc65/cc65.SlackBuild
+++ b/development/cc65/cc65.SlackBuild
@@ -6,6 +6,12 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20180103 bkw:
+# - Update for 2.16_20180102, git commit 040134e7.
+# - "prefix" renamed to "PREFIX" in src/Makefile. For now, set both in
+# the make command, so this script can still build the previous version
+# if someone needs it.
+
# 20170703 bkw:
# - Update for 2.16_20170630. Upstream still hasn't done a release, but
# again there's lots of development.
@@ -22,7 +28,7 @@
# reason. Source is created from a git checkout, see git2targz.sh.
PRGNAM=cc65
-VERSION=${VERSION:-2.16_20170630}
+VERSION=${VERSION:-2.16_20180102}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,9 +71,9 @@ find . -type d -print0 | xargs -0 chmod 755
sed -i "/^CFLAGS/s,-O[^ ]*,$SLKCFLAGS," src/Makefile
PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
-make all prefix=/usr LDFLAGS=-Wl,-s
+make all PREFIX=/usr prefix=/usr LDFLAGS=-Wl,-s
#make -C doc html # we use pre-generated HTML docs now
-make install prefix=$PKG/usr htmldir=$PKGDOC samplesdir=$PKGDOC/samples
+make install PREFIX=$PKG/usr prefix=$PKG/usr htmldir=$PKGDOC samplesdir=$PKGDOC/samples
# binaries already stripped, no man pages