aboutsummaryrefslogtreecommitdiff
path: root/system/loksh/loksh.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/loksh/loksh.SlackBuild')
-rw-r--r--system/loksh/loksh.SlackBuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/system/loksh/loksh.SlackBuild b/system/loksh/loksh.SlackBuild
index 15d179ddc0f8e..b752cd5b79118 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 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.3}
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 \