summaryrefslogtreecommitdiffstats
path: root/system/loksh
diff options
context:
space:
mode:
Diffstat (limited to 'system/loksh')
-rw-r--r--system/loksh/README4
-rw-r--r--system/loksh/loksh.SlackBuild13
-rw-r--r--system/loksh/loksh.info10
-rw-r--r--system/loksh/slack-desc2
4 files changed, 15 insertions, 14 deletions
diff --git a/system/loksh/README b/system/loksh/README
index 9d779b4600..23a313dcc2 100644
--- a/system/loksh/README
+++ b/system/loksh/README
@@ -1,2 +1,6 @@
loksh is a Linux port of OpenBSD's ksh. It is a small, interactive shell
targeted at resource-constrained systems.
+
+For a debug build, use:
+
+ DEBUG=yes ./loksh.SlackBuild
diff --git a/system/loksh/loksh.SlackBuild b/system/loksh/loksh.SlackBuild
index 15d179ddc0..b17f14c8b0 100644
--- a/system/loksh/loksh.SlackBuild
+++ b/system/loksh/loksh.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for loksh
# Copyright 2018-2020 Hunter Sezen California, USA
+# Copyright 2023-2024 K. Eugene Carlson Tsukuba, JP
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=loksh
-VERSION=${VERSION:-6.8.1}
+VERSION=${VERSION:-7.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -52,16 +53,12 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
fi
set -eu
@@ -90,10 +87,9 @@ fi
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-meson \
+meson setup \
--prefix=/ \
--bindir=bin \
- --libdir=usr/lib${LIBDIRSUFFIX} \
--mandir=usr/man \
--datadir=usr \
-Dstrip=$NDEBUG \
@@ -106,8 +102,9 @@ DESTDIR=$PKG "$NINJA" -C build install
mv -- $PKG/bin/ksh $PKG/bin/$PRGNAM
mv -- $PKG/usr/man/man1/ksh.1 $PKG/usr/man/man1/$PRGNAM.1
-mv -- $PKG/usr/man/man1/sh.1 $PKG/usr/man/man1/$PRGNAM-sh.1
mv -- $PKG/usr/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION
+# bash is the default sh in Slackware, so this page is unwanted.
+rm -f $PKG/usr/man/man1/sh.1
mkdir -p $PKG/usr/bin
ln -s /bin/$PRGNAM $PKG/usr/bin/$PRGNAM
diff --git a/system/loksh/loksh.info b/system/loksh/loksh.info
index b539e05d61..c151c83ede 100644
--- a/system/loksh/loksh.info
+++ b/system/loksh/loksh.info
@@ -1,10 +1,10 @@
PRGNAM="loksh"
-VERSION="6.8.1"
+VERSION="7.5"
HOMEPAGE="https://github.com/dimkr/loksh"
-DOWNLOAD="https://github.com/dimkr/loksh/releases/download/6.8.1/loksh-6.8.1.tar.xz"
-MD5SUM="aad60aef7562ad4cf029411032892c2d"
+DOWNLOAD="https://github.com/dimkr/loksh/releases/download/7.5/loksh-7.5.tar.xz"
+MD5SUM="49f28a294d5768e6a5a39fbd16f43095"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Hunter Sezen"
-EMAIL="orbea@riseup.net"
+MAINTAINER="K. Eugene Carlson"
+EMAIL="kvngncrlsn@gmail.com"
diff --git a/system/loksh/slack-desc b/system/loksh/slack-desc
index 3673d2ad2a..186ed2717f 100644
--- a/system/loksh/slack-desc
+++ b/system/loksh/slack-desc
@@ -11,9 +11,9 @@ loksh:
loksh: loksh is a Linux port of OpenBSD's ksh. It is a small, interactive
loksh: shell targeted at resource-constrained systems.
loksh:
+loksh: Port Author: Dima Krasner
loksh: Homepage: https://github.com/dimkr/loksh
loksh:
loksh:
loksh:
loksh:
-loksh: