From 4f5caa67e6249f03459f2f09ff518ca5fffdc694 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Sat, 2 Jan 2021 20:36:24 +0000 Subject: Sat Jan 2 20:36:24 UTC 2021 a/smartmontools-7.2-x86_64-1.txz: Upgraded. l/cryptopp-8.4.0-x86_64-1.txz: Upgraded. l/shared-mime-info-2.1-x86_64-1.txz: Upgraded. xfce/xfce4-whiskermenu-plugin-2.5.1-x86_64-1.txz: Upgraded. --- source/a/smartmontools/smartmontools.SlackBuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source/a/smartmontools') diff --git a/source/a/smartmontools/smartmontools.SlackBuild b/source/a/smartmontools/smartmontools.SlackBuild index 17d1c48e..7e0b554d 100755 --- a/source/a/smartmontools/smartmontools.SlackBuild +++ b/source/a/smartmontools/smartmontools.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2008, 2009, 2011, 2017, 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2008, 2009, 2011, 2017, 2018, 2021 Patrick J. Volkerding, Sebeka, Minnesota, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -44,6 +44,8 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then exit 0 fi +NUMJOBS=${NUMJOBS:-" -j $(expr $(nproc) + 1) "} + if [ "$ARCH" = "x86_64" ]; then LIBDIRSUFFIX="64" else @@ -70,7 +72,7 @@ chown -R root:root . --docdir=/usr/doc/smartmontools-$VERSION \ --build=$ARCH-slackware-linux || exit 1 -make || exit 1 +make $NUMJOBS || make || exit 1 make install DESTDIR=$PKG || exit 1 # Don't use the included init script: -- cgit v1.2.3