diff options
Diffstat (limited to 'source/x/libevdev')
-rwxr-xr-x | source/x/libevdev/libevdev.SlackBuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/x/libevdev/libevdev.SlackBuild b/source/x/libevdev/libevdev.SlackBuild index 94bd7a9e..f5992530 100755 --- a/source/x/libevdev/libevdev.SlackBuild +++ b/source/x/libevdev/libevdev.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for libevdev # Copyright 2014 Robby Workman, Northport, Alabama, USA -# Copyright 2015, 2018 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2015, 2018, 2020 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -45,6 +45,8 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then exit 0 fi +NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} + TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM @@ -86,7 +88,7 @@ CXXFLAGS="$SLKCFLAGS" \ --docdir=/usr/doc/$PKGNAM-$VERSION \ --build=$ARCH-slackware-linux || exit 1 -make || exit 1 +make $NUMJOBS || exit 1 make install DESTDIR=$PKG || exit 1 # Don't ship .la files: |