From b5e484bf579e3ed900b7515025ab6dbc07b4a33e Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 6 Nov 2020 16:23:58 -0500 Subject: development/asl: Updated for version 142_bld178. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- development/asl/asl.SlackBuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'development/asl/asl.SlackBuild') diff --git a/development/asl/asl.SlackBuild b/development/asl/asl.SlackBuild index 3a6696be1dae..8ccdf75e02c5 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 -- cgit v1.2.3