diff options
Diffstat (limited to 'system/ksh-openbsd/ksh-openbsd.SlackBuild')
-rw-r--r-- | system/ksh-openbsd/ksh-openbsd.SlackBuild | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/system/ksh-openbsd/ksh-openbsd.SlackBuild b/system/ksh-openbsd/ksh-openbsd.SlackBuild index 529530c8c8bb7..7316be7a00e74 100644 --- a/system/ksh-openbsd/ksh-openbsd.SlackBuild +++ b/system/ksh-openbsd/ksh-openbsd.SlackBuild @@ -28,7 +28,7 @@ # Build script for the Linux port of OpenBSD's ksh PRGNAM=ksh-openbsd -VERSION=${VERSION:-20180115} +VERSION=${VERSION:-20190127} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -79,9 +79,16 @@ CFLAGS="$SLKCFLAGS $(getconf LFS_CFLAGS)" make make check make install DESTDIR=$PKG -strip --strip-unneeded $PKG/bin/pdksh -gzip -9 $PKG/usr/man/man1/pdksh.1 -gzip -9 $PKG/usr/man/man1/pdksh-sh.1 +if [ -n "${PDKSH_BINNAME}" ];then + mv $PKG/bin/pdksh $PKG/bin/"${PDKSH_BINNAME}" + mv $PKG/usr/man/man1/pdksh.1 $PKG/usr/man/man1/"${PDKSH_BINNAME}".1 + mv $PKG/usr/man/man1/pdksh-sh.1 $PKG/usr/man/man1/"${PDKSH_BINNAME}"-sh.1 +fi +BINNAME=${PDKSH_BINNAME:-pdksh} + +strip --strip-unneeded $PKG/bin/"${BINNAME}" +gzip -9 $PKG/usr/man/man1/"${BINNAME}".1 +gzip -9 $PKG/usr/man/man1/"${BINNAME}"-sh.1 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ |