diff options
Diffstat (limited to 'source/l/libsndfile/libsndfile.SlackBuild')
-rwxr-xr-x | source/l/libsndfile/libsndfile.SlackBuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source/l/libsndfile/libsndfile.SlackBuild b/source/l/libsndfile/libsndfile.SlackBuild index 9ee48d0a..359a2de5 100755 --- a/source/l/libsndfile/libsndfile.SlackBuild +++ b/source/l/libsndfile/libsndfile.SlackBuild @@ -4,7 +4,7 @@ # Copyright 2010 paul wisehart, Hyattsville, MD, USA # Copyright 2010 Robby Workman, Northport, Alabama, USA -# Copyright 2011, 2018, 2020 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2011, 2018, 2020, 2021 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=libsndfile VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -46,6 +46,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" \ --disable-static \ --build=$ARCH-slackware-linux || exit 1 -make htmldocdir=/usr/doc/$PKGNAM-$VERSION/html || exit 1 +make $NUMJOBS htmldocdir=/usr/doc/$PKGNAM-$VERSION/html || exit 1 make htmldocdir=/usr/doc/$PKGNAM-$VERSION/html DESTDIR=$PKG install || exit 1 # Don't ship .la files: |