summaryrefslogtreecommitdiff
path: root/source/xap/electricsheep
diff options
context:
space:
mode:
Diffstat (limited to 'source/xap/electricsheep')
-rwxr-xr-xsource/xap/electricsheep/electricsheep.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/xap/electricsheep/electricsheep.SlackBuild b/source/xap/electricsheep/electricsheep.SlackBuild
index 21f7a47d..611e6eeb 100755
--- a/source/xap/electricsheep/electricsheep.SlackBuild
+++ b/source/xap/electricsheep/electricsheep.SlackBuild
@@ -54,6 +54,8 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
+
# Where do we look for sources?
cd $(dirname $0) ; SRCDIR=$(pwd)
@@ -214,7 +216,7 @@ cd client
--mandir=/usr/man \
--build=$ARCH-slackware-linux \
2>&1 | tee $OUTPUT/configure-${PKGNAM}.log
- make -j 7 2>&1 | tee $OUTPUT/make-${PKGNAM}.log
+ make $NUMJOBS 2>&1 | tee $OUTPUT/make-${PKGNAM}.log
make DESTDIR=$PKG install 2>&1 |tee $OUTPUT/install-${PKGNAM}.log
cd ..
# Then the flam3 (fractal flames) renderer: