diff options
author | LEVAI Daniel <leva@ecentrum.hu> | 2017-10-17 11:57:38 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-10-21 07:08:29 +0700 |
commit | 1f088ceb2bc452922bcd4272c55eb46a8cfa871a (patch) | |
tree | 8e619f20b5cb6ad32310b7e26f7be4991151e160 /system/ksh-openbsd/ksh-openbsd.SlackBuild | |
parent | 2cd272ffb037b2bf244c37b5c1cb1e3a5af76888 (diff) |
system/ksh-openbsd: Updated for version 20171016.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/ksh-openbsd/ksh-openbsd.SlackBuild')
-rw-r--r-- | system/ksh-openbsd/ksh-openbsd.SlackBuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/system/ksh-openbsd/ksh-openbsd.SlackBuild b/system/ksh-openbsd/ksh-openbsd.SlackBuild index 3f5efc18a882c..e18bf48ff3318 100644 --- a/system/ksh-openbsd/ksh-openbsd.SlackBuild +++ b/system/ksh-openbsd/ksh-openbsd.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright (c) 2010-2014 LEVAI Daniel +# Copyright (c) 2010-2017 LEVAI Daniel # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -28,13 +28,13 @@ # Build script for the Linux port of OpenBSD's ksh PRGNAM=ksh-openbsd -VERSION=${VERSION:-20141220} +VERSION=${VERSION:-20171016} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -45,8 +45,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "${ARCH}" == "i486" ];then - SLKCFLAGS='-march=i486 -mtune=i686' +if [ "${ARCH}" == "i586" ];then + SLKCFLAGS='-march=i586 -mtune=i686' LIBDIRSUFFIX="" elif [ "$ARCH" == "i686" ]; then SLKCFLAGS="-march=i686 -mtune=i686" @@ -81,10 +81,11 @@ 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - Changelog.ksh-openbsd INSTALL LEGAL NOTES PROJECTS README \ + Changelog.ksh-openbsd LEGAL README \ $PKG/usr/doc/$PRGNAM-$VERSION cp $CWD/README $PKG/usr/doc/$PRGNAM-$VERSION/README.ksh-openbsd cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |