summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--development/z88dk/z88dk.SlackBuild15
1 files changed, 14 insertions, 1 deletions
diff --git a/development/z88dk/z88dk.SlackBuild b/development/z88dk/z88dk.SlackBuild
index 93c0f78895..2636a2c267 100644
--- a/development/z88dk/z88dk.SlackBuild
+++ b/development/z88dk/z88dk.SlackBuild
@@ -14,12 +14,20 @@
# release doesn't, current git does).
# 20210907 bkw: the above TODO still stands, but I don't have time to do
# it right now (gearing up for 15.0 release).
+# 20230114 bkw: I don't have time to deal with it right now, but
+# z88dk-2.2 looks promising. Unfortunately I'll have to spend a week
+# writing SlackBuilds for the 50 or so perl modules it requires, and I
+# don't have a week right now.
+
+# 20230114 bkw: BUILD=2
+# - do not ship pre-compiled binaries in the doc dir
+# - do not ship the windows installer
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=z88dk
VERSION=${VERSION:-1.99B}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -117,6 +125,11 @@ for i in $CWD/man/*.1; do
gzip -9c < $i > $PKG/usr/man/man1/$( basename $i ).gz
done
+# 20230114 bkw: do not ship executables in the doc dir.
+rm -f support/bin2var/{bin2var,*.exe}
+rm -f support/graphics/{z80svg,*.o}
+rm -rf support/winstall
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README* LICENSE EXTENSIONS doc examples support \
$PKG/usr/doc/$PRGNAM-$VERSION