summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorMuhammad Mahendra Subrata <mumahendras3@gmail.com>2020-04-10 00:53:48 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-04-10 00:53:48 +0700
commit89e42ea19bca2b72f5801afc60a131b9d3aa140f (patch)
tree3b885f190a81c48e3b5ca501357626a6b0aa725a /libraries
parent376b6e8b8271864a4412c73f7ddaa7a5baeaaea2 (diff)
downloadslackbuilds-89e42ea19bca2b72f5801afc60a131b9d3aa140f.tar.gz
libraries/skalibs: Updated for version 2.9.2.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/skalibs/README6
-rw-r--r--libraries/skalibs/skalibs.SlackBuild9
-rw-r--r--libraries/skalibs/skalibs.info6
3 files changed, 17 insertions, 4 deletions
diff --git a/libraries/skalibs/README b/libraries/skalibs/README
index c601481353..b8dedd2f85 100644
--- a/libraries/skalibs/README
+++ b/libraries/skalibs/README
@@ -30,3 +30,9 @@ libraries and not the static ones, you can do something like
If you just want to build and use skarnet.org softwares, building only
the static libraries should be sufficient.
+
+Also, skalibs has a default executable search path that will be used by
+skarnet.org softwares if the PATH environment variable is undefined. The
+upstream default is "/usr/bin:/bin" but the script by default will use
+"/usr/bin:/usr/sbin:/bin:/sbin" instead. Pass DEF_PATH=some:path:list
+to the script if you want to change it to something else.
diff --git a/libraries/skalibs/skalibs.SlackBuild b/libraries/skalibs/skalibs.SlackBuild
index 125d6212fc..93a7e794ea 100644
--- a/libraries/skalibs/skalibs.SlackBuild
+++ b/libraries/skalibs/skalibs.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=skalibs
-VERSION=${VERSION:-2.9.2.0}
+VERSION=${VERSION:-2.9.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,6 +69,12 @@ if [ "$BUILD_SHARED" = "no" ]; then
LIBS_CONF="--disable-shared $LIBS_CONF"
fi
+# skalibs has a default executable search path that will be used by skarnet.org softwares
+# if the PATH environment variable is undefined. The upstream default is /usr/bin:/bin but
+# we will use /usr/bin:/usr/sbin:/bin:/sbin here instead. You can pass DEF_PATH=some:path:list
+# to this script if you want to change it to something else.
+DEF_PATH=${DEF_PATH:-/usr/bin:/usr/sbin:/bin:/sbin}
+
set -e
rm -rf $PKG
@@ -92,6 +98,7 @@ CXXFLAGS="$SLKCFLAGS" \
--includedir=/usr/include \
--sysdepdir=/usr/lib${LIBDIRSUFFIX}/skalibs/sysdeps \
--datadir=/etc \
+ --with-default-path=${DEF_PATH} \
$LIBS_CONF
make
diff --git a/libraries/skalibs/skalibs.info b/libraries/skalibs/skalibs.info
index bae29cfa67..14f4aa7b03 100644
--- a/libraries/skalibs/skalibs.info
+++ b/libraries/skalibs/skalibs.info
@@ -1,8 +1,8 @@
PRGNAM="skalibs"
-VERSION="2.9.2.0"
+VERSION="2.9.2.1"
HOMEPAGE="https://skarnet.org/software/skalibs/"
-DOWNLOAD="https://skarnet.org/software/skalibs/skalibs-2.9.2.0.tar.gz"
-MD5SUM="1c2aabd584412ce17e43860a7776053a"
+DOWNLOAD="https://skarnet.org/software/skalibs/skalibs-2.9.2.1.tar.gz"
+MD5SUM="da4c3f1adcd8a204ae9c5fcff4ce4a9a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""