summaryrefslogtreecommitdiffstats
path: root/system/xpipe/xpipe.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/xpipe/xpipe.SlackBuild')
-rw-r--r--system/xpipe/xpipe.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/system/xpipe/xpipe.SlackBuild b/system/xpipe/xpipe.SlackBuild
index 15157df9cf..42195a279d 100644
--- a/system/xpipe/xpipe.SlackBuild
+++ b/system/xpipe/xpipe.SlackBuild
@@ -6,10 +6,13 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20221225 bkw: update for v20220918_2c4882c (new dep libbsd),
+# add TEST=yes option to run xpipe's self tests.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=xpipe
-VERSION=${VERSION:-20200503_60b0aec}
+VERSION=${VERSION:-20220918_2c4882c}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -27,7 +30,6 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -60,6 +62,8 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
make CFLAGS="$SLKCFLAGS -Wall -Wl,-s"
+[ "${TEST:-no}" = "yes" ] && make test
+
# make install is pretty BSD-specific, don't use.
PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION