diff options
Diffstat (limited to 'system/s6-rc/s6-rc.SlackBuild')
-rw-r--r-- | system/s6-rc/s6-rc.SlackBuild | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/system/s6-rc/s6-rc.SlackBuild b/system/s6-rc/s6-rc.SlackBuild index 383a70b0dc..a2b55021de 100644 --- a/system/s6-rc/s6-rc.SlackBuild +++ b/system/s6-rc/s6-rc.SlackBuild @@ -29,8 +29,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=s6-rc -VERSION=${VERSION:-0.5.3.1} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.5.4.2} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -65,22 +65,25 @@ 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" -# /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 +# The default s6-rc live directory is /run/s6-rc. Pass +# LIVE_DIR=/path/to/directory to this script to change it (make sure +# /path/to/directory is readable and writable by s6-rc). LIVE_DIR=${LIVE_DIR:-/run/s6-rc} set -e @@ -118,7 +121,8 @@ make strip make install DESTDIR=$PKG # 20220414 bkw: wtf, sticky and setgid dirs in doc. -chmod -R -t,a-s doc +# 20220615 mumahendras3: remove sticky and setgid bits from examples too +chmod -R -t,a-s doc examples mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING NEWS README doc examples $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |