diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2021-09-06 18:55:54 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2021-09-07 08:59:57 +0200 |
commit | 5fb4954ced66e554f77799e718dc6289a011ecf2 (patch) | |
tree | b284d0208b24b5d7c5493d542cf4e6ca160bb64e /source/l/libsamplerate/libsamplerate.SlackBuild | |
parent | 9554d8c67b44772fb3289abc59fec3ed9f4411d7 (diff) | |
download | current-5fb4954ced66e554f77799e718dc6289a011ecf2.tar.gz current-5fb4954ced66e554f77799e718dc6289a011ecf2.tar.xz |
Mon Sep 6 18:55:54 UTC 202120210906185554
ap/mpg123-1.29.0-x86_64-1.txz: Upgraded.
ap/texinfo-6.8-x86_64-2.txz: Rebuilt.
Regenerate /usr/info/dir.new.
d/python-setuptools-58.0.1-x86_64-1.txz: Upgraded.
d/rinutils-0.10.0-x86_64-1.txz: Upgraded.
kde/plasma-wayland-protocols-1.4.0-x86_64-1.txz: Upgraded.
l/gegl-0.4.32-x86_64-1.txz: Upgraded.
l/imagemagick-7.1.0_6-x86_64-1.txz: Upgraded.
l/libgtop-2.40.0-x86_64-4.txz: Rebuilt.
Remove /usr/info/dir that shouldn't have been included.
Upgrade the texinfo package after this one to restore the correct file.
Thanks to elyk.
l/libsamplerate-0.2.2-x86_64-1.txz: Upgraded.
l/mozilla-nss-3.70-x86_64-1.txz: Upgraded.
xap/gimp-2.10.26-x86_64-1.txz: Upgraded.
xap/mozilla-firefox-91.1.0esr-x86_64-1.txz: Upgraded.
This is a bugfix release.
For more information, see:
https://www.mozilla.org/en-US/firefox/91.1.0/releasenotes/
xfce/libxfce4ui-4.16.1-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/l/libsamplerate/libsamplerate.SlackBuild')
-rwxr-xr-x | source/l/libsamplerate/libsamplerate.SlackBuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/source/l/libsamplerate/libsamplerate.SlackBuild b/source/l/libsamplerate/libsamplerate.SlackBuild index 2de9a4431..9778bcbab 100755 --- a/source/l/libsamplerate/libsamplerate.SlackBuild +++ b/source/l/libsamplerate/libsamplerate.SlackBuild @@ -1,6 +1,7 @@ #!/bin/bash # Copyright 2018 paul wisehart <paul@1ud2.com> +# Copyright 2021 Patrick J. Volkerding, Sebeka, Minnesota, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,8 +26,8 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=libsamplerate -VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-2} +VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -64,11 +65,13 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then exit 0 fi +NUMJOBS=${NUMJOBS:-" -j $(expr $(nproc) + 1) "} + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PKGNAM-$VERSION -tar xvf $CWD/$PKGNAM-$VERSION.tar.?z* || exit 1 +tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1 cd $PKGNAM-$VERSION || exit 1 chown -R root:root . chmod -R u+w,go+r-w,a-s . @@ -87,7 +90,7 @@ CXXFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --build=$ARCH-slackware-linux || exit 1 -make -j4 || exit 1 +make $NUMJOBS || make || exit 1 make install DESTDIR=$PKG || exit 1 # Don't ship .la files: |