mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
system/ksh-openbsd: Updated for version 20171016.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
2cd272ffb0
commit
1f088ceb2b
2 changed files with 10 additions and 9 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Copyright (c) 2010-2014 LEVAI Daniel
|
# Copyright (c) 2010-2017 LEVAI Daniel
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# 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
|
# Build script for the Linux port of OpenBSD's ksh
|
||||||
|
|
||||||
PRGNAM=ksh-openbsd
|
PRGNAM=ksh-openbsd
|
||||||
VERSION=${VERSION:-20141220}
|
VERSION=${VERSION:-20171016}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
i?86) ARCH=i486 ;;
|
i?86) ARCH=i586 ;;
|
||||||
arm*) ARCH=arm ;;
|
arm*) ARCH=arm ;;
|
||||||
*) ARCH=$( uname -m ) ;;
|
*) ARCH=$( uname -m ) ;;
|
||||||
esac
|
esac
|
||||||
|
@ -45,8 +45,8 @@ TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
if [ "${ARCH}" == "i486" ];then
|
if [ "${ARCH}" == "i586" ];then
|
||||||
SLKCFLAGS='-march=i486 -mtune=i686'
|
SLKCFLAGS='-march=i586 -mtune=i686'
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" == "i686" ]; then
|
elif [ "$ARCH" == "i686" ]; then
|
||||||
SLKCFLAGS="-march=i686 -mtune=i686"
|
SLKCFLAGS="-march=i686 -mtune=i686"
|
||||||
|
@ -81,10 +81,11 @@ make install DESTDIR=$PKG
|
||||||
|
|
||||||
strip --strip-unneeded $PKG/bin/pdksh
|
strip --strip-unneeded $PKG/bin/pdksh
|
||||||
gzip -9 $PKG/usr/man/man1/pdksh.1
|
gzip -9 $PKG/usr/man/man1/pdksh.1
|
||||||
|
gzip -9 $PKG/usr/man/man1/pdksh-sh.1
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a \
|
cp -a \
|
||||||
Changelog.ksh-openbsd INSTALL LEGAL NOTES PROJECTS README \
|
Changelog.ksh-openbsd LEGAL README \
|
||||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp $CWD/README $PKG/usr/doc/$PRGNAM-$VERSION/README.ksh-openbsd
|
cp $CWD/README $PKG/usr/doc/$PRGNAM-$VERSION/README.ksh-openbsd
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="ksh-openbsd"
|
PRGNAM="ksh-openbsd"
|
||||||
VERSION="20141220"
|
VERSION="20171016"
|
||||||
HOMEPAGE="https://github.com/levaidaniel/ksh-openbsd"
|
HOMEPAGE="https://github.com/levaidaniel/ksh-openbsd"
|
||||||
DOWNLOAD="https://github.com/levaidaniel/ksh-openbsd/archive/20141220.tar.gz"
|
DOWNLOAD="https://github.com/levaidaniel/ksh-openbsd/archive/20171016.tar.gz"
|
||||||
MD5SUM="74fa6c5476fad36dfc4dedc72de40b9c"
|
MD5SUM="8a2e23bb3364cf5042173c8ed89885f6"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="libbsd"
|
REQUIRES="libbsd"
|
||||||
|
|
Loading…
Reference in a new issue