aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--development/cc65/cc65.SlackBuild20
-rw-r--r--development/cc65/cc65.info6
-rw-r--r--development/cc65/git2targz.sh10
3 files changed, 24 insertions, 12 deletions
diff --git a/development/cc65/cc65.SlackBuild b/development/cc65/cc65.SlackBuild
index 43e5d6955cd9d..4878b29fb5762 100644
--- a/development/cc65/cc65.SlackBuild
+++ b/development/cc65/cc65.SlackBuild
@@ -6,6 +6,14 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20170703 bkw:
+# - Update for 2.16_20170630. Upstream still hasn't done a release, but
+# again there's lots of development.
+# - My self-hosted source tarball now includes the HTML documentation. This
+# script used to build it, but -current's linuxdoc-tools chokes on it,
+# and fixing it would require me a week or two probably. So, for now
+# anyway, the tarball includes docs that were built on 14.2.
+
# 20170129 bkw:
# - Update for v2.15_20170126, aka git 6878ede. Upstream hasn't done
# a release since 2013 or so, but there's been lots of development.
@@ -14,7 +22,7 @@
# reason. Source is created from a git checkout, see git2targz.sh.
PRGNAM=cc65
-VERSION=${VERSION:-2.15_20170126}
+VERSION=${VERSION:-2.16_20170630}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,17 +62,11 @@ find . -type f -print0 | xargs -0 chmod 644
find . -type d -print0 | xargs -0 chmod 755
# external CFLAGS not honored
-sed -i "/^CFLAGS/s,-O,$SLKCFLAGS," src/Makefile
-
-# If we wanted GNU info docs, we could 'make doc' instead of 'make -C doc
-# html'. But, they're the same as the HTML pages, and they install into
-# /usr/info with names like 'intro' and 'index', which would be confusing.
-# It would be possible to patch things so we had 'cc65-intro', etc,
-# but IMO not worth the effort.
+sed -i "/^CFLAGS/s,-O[^ ]*,$SLKCFLAGS," src/Makefile
PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
make all prefix=/usr LDFLAGS=-Wl,-s
-make -C doc html
+#make -C doc html # we use pre-generated HTML docs now
make install prefix=$PKG/usr htmldir=$PKGDOC samplesdir=$PKGDOC/samples
# binaries already stripped, no man pages
diff --git a/development/cc65/cc65.info b/development/cc65/cc65.info
index ab1be6e0b9289..0268de1d32b6b 100644
--- a/development/cc65/cc65.info
+++ b/development/cc65/cc65.info
@@ -1,8 +1,8 @@
PRGNAM="cc65"
-VERSION="2.15_20170126"
+VERSION="2.16_20170630"
HOMEPAGE="http://cc65.github.io/cc65/"
-DOWNLOAD="http://urchlay.naptime.net/~urchlay/src/cc65-2.15_20170126.tar.xz"
-MD5SUM="59be82081cd44d50d170773d32839b22"
+DOWNLOAD="http://urchlay.naptime.net/~urchlay/src/cc65-2.16_20170630.tar.xz"
+MD5SUM="d939f05f3d3aa80f7ed9c17e9a28de39"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/cc65/git2targz.sh b/development/cc65/git2targz.sh
index c86e2d9412fbb..68c19ebad6e01 100644
--- a/development/cc65/git2targz.sh
+++ b/development/cc65/git2targz.sh
@@ -38,6 +38,16 @@ VERSION=${MAJOR}.${MINOR}_$DATE
rm -rf .git
find . -name .gitignore -print0 | xargs -0 rm -f
+# DIRTY HACK ALERT:
+# -current's linuxdoc-tools hates upstream's sgml docs, and it's not
+# obvious what's wrong (bug/regression in linuxdoc-tools? 14.2's worked
+# fine). I'm not interested in trying to fix the problem because I
+# fucking hate XML, and I especially hate the mess that's the Slackware
+# linuxdoc-tools (28 source tarballs, interdependent). So I'll just
+# include pre-generated (on 14.2) HTML docs in my self-hosted source
+# tarball.
+make -C doc html
+
cd "$CWD"
rm -rf $PRGNAM-$VERSION $PRGNAM-$VERSION.tar.xz
mv $GITDIR $PRGNAM-$VERSION