summaryrefslogtreecommitdiffstats
path: root/development/asl/asl.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/asl/asl.SlackBuild')
-rw-r--r--development/asl/asl.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/development/asl/asl.SlackBuild b/development/asl/asl.SlackBuild
index 3a6696be1d..8ccdf75e02 100644
--- a/development/asl/asl.SlackBuild
+++ b/development/asl/asl.SlackBuild
@@ -7,6 +7,7 @@
# Original version had no license. Modified version released under the
# WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20201106 bkw: update for 142_bld178.
# 20191202 bkw: update for 142_bld150.
# 20180911 bkw: update for 142_bld137.
# 20180615 bkw: update for 142_bld134.
@@ -26,7 +27,7 @@
PRGNAM=asl
SRCNAM=asl-current
-VERSION=${VERSION:-142_bld150}
+VERSION=${VERSION:-142_bld178}
SRCVER=$(echo $VERSION | tr _ -)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -83,7 +84,11 @@ UTF8="${UTF8:-no}"
sed -i 's/CHARSET_ISO8859_1/CHARSET_UTF8/' Makefile.def
# binaries are already stripped, no symlinks in man pages.
-make -j1 binaries install PREFIX=$PKG DOCPATH=""
+# 20201106 bkw: upstream changed PREFIX to INSTROOT, support both
+# in case someone wants to build an old version.
+DESTDIR=PREFIX
+grep -q INSTROOT Makefile && DESTDIR=INSTROOT
+make -j1 binaries install $DESTDIR=$PKG DOCPATH=""
gzip -9 $PKG/usr/man/man?/*.?
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION