system/mksh: Updated for version R40b.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
markus reichelt 2011-09-05 21:57:43 -04:00 committed by Robby Workman
parent 8cdbea3336
commit c18a7770aa
4 changed files with 9 additions and 15 deletions

View file

@ -1,8 +1,5 @@
mksh is a successor to the Public Domain Korn Shell (pdksh)
Pass UTF8=no to the script so that mksh does never assume
that the terminal is in UTF-8 mode.
Pass STATIC=yes to the script to create a static build.
Pass DIET=yes to the script in order to use dietlibc (this

View file

@ -26,9 +26,10 @@
# markus reichelt, slackbuilds@mareichelt.de, 0xCCEEF115
# 2011 Mar 20 - initial release
# 2011 Jun 13 - adapted to R40
# 2011 Aug 27 - adapted to R40b
PRGNAM=mksh
VERSION=${VERSION:-R40}
VERSION=${VERSION:-R40b}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -68,10 +69,6 @@ rm -rf $PRGNAM
gzip -dc $CWD/$PRGNAM-$VERSION.cpio.gz | cpio -mid
cd $PRGNAM
if [ "$UTF8" = "no" ]; then
CPPFLAGS="${CPPFLAGS} -DMKSH_ASSUME_UTF8=0"
fi
if [ "$STATIC" = "yes" ]; then
LDFLAGS="${LDFLAGS} -static"
CPPFLAGS="${CPPFLAGS} -DMKSH_NOPWNAM"
@ -105,7 +102,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $CWD/TaC-mksh.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/TaC-mksh.txt > $PKG/usr/doc/$PRGNAM-$VERSION/TaC-mksh.txt
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,10 +1,10 @@
PRGNAM="mksh"
VERSION="R40"
HOMEPAGE="http://mirbsd.de/mksh/"
DOWNLOAD="http://www.mirbsd.org/MirOS/dist/mir/mksh/mksh-R40.cpio.gz"
MD5SUM="395a6c5f39c7e2afd8f6504d90ca90bd"
VERSION="R40b"
HOMEPAGE="http://mirbsd.de/mksh"
DOWNLOAD="http://www.mirbsd.org/MirOS/dist/mir/mksh/mksh-R40b.cpio.gz"
MD5SUM="afb08b65272ace550ec59b26a876a7de"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="markus reichelt"
EMAIL="slackbuilds@mareichelt.de"
APPROVED="Niels Horn"
APPROVED="dsomero"

View file

@ -10,7 +10,7 @@ mksh: mksh (MirBSD Korn Shell)
mksh:
mksh: mksh is a successor to the Public Domain Korn Shell (pdksh)
mksh:
mksh: Homepage: http://mirbsd.de/mksh/
mksh: Homepage: http://mirbsd.de/mksh
mksh:
mksh:
mksh: