system/execline: Updated for version 2.9.0.0, general fixups/cleanups

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Muhammad Mahendra Subrata 2022-06-17 17:58:19 +08:00 committed by Willy Sudiarto Raharjo
parent 6a1a1bb9da
commit 81aafc6bf5
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
3 changed files with 23 additions and 22 deletions

View File

@ -1,8 +1,7 @@
execline is a (non-interactive) scripting language, like sh; but its
syntax is quite different from a traditional shell syntax. The
execlineb program is meant to be used as an interpreter for a text
file; the other commands are essentially useful inside an execlineb
script.
syntax is quite different from a traditional shell syntax. The execlineb
program is meant to be used as an interpreter for a text file; the other
commands are essentially useful inside an execlineb script.
execline is as powerful as a shell: it features conditional loops,
getopt-style option handling, filename globbing, and more. Meanwhile,
@ -10,14 +9,14 @@ its syntax is far more logic and predictable than the shell's syntax,
and has no security issues.
NOTE:
Upstream recommends building skarnet.org softwares with static libraries
as most of skarnet.org softwares are small enough that using shared
libraries are generally not worth using. Therefore, by default, shared
libraries are not built and binaries are linked against the static
versions of the skarnet.org libraries.
Upstream recommends building skarnet.org software with static libraries,
as most of skarnet.org software are small enough that shared libraries
are generally not worth using. Therefore, by default, shared libraries
are not built and binaries are linked against the static versions of the
skarnet.org libraries.
If you want to also build the shared libraries, pass BUILD_SHARED=yes
environment variable to the SlackBuild script like below:
environment variable to this SlackBuild script like below:
BUILD_SHARED=yes ./execline.SlackBuild
@ -27,7 +26,7 @@ libraries and not the static ones, you can do something like:
BUILD_SHARED=yes BUILD_STATIC=no ./execline.SlackBuild
If you just want to build and use skarnet.org softwares, building only
If you just want to build and use skarnet.org software, building only
the static libraries should be sufficient.
If you want the binaries to be linked against the shared versions of the

View File

@ -30,8 +30,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=execline
VERSION=${VERSION:-2.8.3.0}
BUILD=${BUILD:-2}
VERSION=${VERSION:-2.9.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -66,17 +66,19 @@ else
LIBDIRSUFFIX=""
fi
# By default, only static libraries are built. If you need to build the shared libraries, just pass
# BUILD_SHARED=yes to this script
# By default, only static libraries are built. If you want to also build the
# shared libraries, just pass BUILD_SHARED=yes to this script.
BUILD_STATIC=${BUILD_STATIC:-yes}
BUILD_SHARED=${BUILD_SHARED:-no}
[ "$BUILD_STATIC" = "no" ] && LIBS_CONF="--disable-static"
[ "$BUILD_SHARED" = "yes" ] && LIBS_CONF="--enable-shared $LIBS_CONF"
# By default, all binaries are linked against the static versions of the skarnet.org libraries
# Pass LINK_SHARED=yes to link the binaries against the shared versions of the skarnet.org libraries
# Also, if you only built the shared versions of the skarnet.org libraries, the binaries will be
# linked against shared libraries automatically, as though LINK_SHARED=yes is passed to this script
# By default, all binaries are linked against the static versions of the
# skarnet.org libraries. Pass LINK_SHARED=yes to link the binaries against the
# shared versions of the skarnet.org libraries. If you only built the shared
# versions of the skarnet.org libraries, the binaries will be linked against
# shared libraries automatically, as though LINK_SHARED=yes is passed to this
# script.
LINK_SHARED=${LINK_SHARED:-no}
[ "$LINK_SHARED" = "yes" ] && LIBS_CONF="--disable-allstatic $LIBS_CONF"

View File

@ -1,8 +1,8 @@
PRGNAM="execline"
VERSION="2.8.3.0"
VERSION="2.9.0.0"
HOMEPAGE="https://skarnet.org/software/execline/"
DOWNLOAD="https://skarnet.org/software/execline/execline-2.8.3.0.tar.gz"
MD5SUM="339eea5fa11a055b4867b08e71a0f4bc"
DOWNLOAD="https://skarnet.org/software/execline/execline-2.9.0.0.tar.gz"
MD5SUM="233c1e3e98ac673dea32190573f1e956"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="skalibs"