aboutsummaryrefslogtreecommitdiff
path: root/system/s6-rc/s6-rc.SlackBuild
diff options
context:
space:
mode:
authorMuhammad Mahendra Subrata <mumahendras3@gmail.com>2020-10-15 20:14:14 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-10-17 09:36:17 +0700
commitfdde31befbfb3a662e589acd68d3c0ff580e4b76 (patch)
tree67961b88b3784e1cd2a2bf8c41d3b62e7f07dbf1 /system/s6-rc/s6-rc.SlackBuild
parent71bf7674d1821205931660998333c2bd56184ad1 (diff)
system/s6-rc: Updated for version 0.5.2.0.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/s6-rc/s6-rc.SlackBuild')
-rw-r--r--system/s6-rc/s6-rc.SlackBuild17
1 files changed, 4 insertions, 13 deletions
diff --git a/system/s6-rc/s6-rc.SlackBuild b/system/s6-rc/s6-rc.SlackBuild
index 645479738c729..073faed9f6ec4 100644
--- a/system/s6-rc/s6-rc.SlackBuild
+++ b/system/s6-rc/s6-rc.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=s6-rc
-VERSION=${VERSION:-0.5.1.2}
+VERSION=${VERSION:-0.5.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -58,24 +58,15 @@ fi
# BUILD_SHARED=yes to this script
BUILD_STATIC=${BUILD_STATIC:-yes}
BUILD_SHARED=${BUILD_SHARED:-no}
-
-if [ "$BUILD_STATIC" = "no" ]; then
- LIBS_CONF="--disable-static"
-fi
-
-if [ "$BUILD_SHARED" = "yes" ]; then
- LIBS_CONF="--enable-shared $LIBS_CONF"
-fi
+[ "$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
LINK_SHARED=${LINK_SHARED:-no}
-
-if [ "$LINK_SHARED" = "yes" ]; then
- LIBS_CONF="--disable-allstatic $LIBS_CONF"
-fi
+[ "$LINK_SHARED" = "yes" ] && LIBS_CONF="--disable-allstatic $LIBS_CONF"
# /run/s6-rc is the default live directory, pass LIVE_DIR=/path/to/directory to this script to change it
# make sure /path/to/directory is readable and writable by s6-rc or it will not work correctly