From 37c5a245427fd5970be147fa5bdd3ee1848a684e Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Sat, 29 Aug 2020 17:47:04 +0000 Subject: Sat Aug 29 17:47:04 UTC 2020 ap/dash-0.5.11.2-x86_64-1.txz: Upgraded. ap/htop-3.0.0-x86_64-1.txz: Upgraded. d/patchelf-0.12-x86_64-1.txz: Upgraded. l/harfbuzz-2.7.2-x86_64-1.txz: Upgraded. --- source/ap/htop/htop.SlackBuild | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'source/ap/htop/htop.SlackBuild') diff --git a/source/ap/htop/htop.SlackBuild b/source/ap/htop/htop.SlackBuild index d3355228a..f34285022 100755 --- a/source/ap/htop/htop.SlackBuild +++ b/source/ap/htop/htop.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2011, 2016, 2018 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2011, 2016, 2018, 2020 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=htop VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -77,6 +77,14 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \+ +if [ ! -r configure ]; then + if [ -x ./autogen.sh ]; then + NOCONFIGURE=1 ./autogen.sh + else + autoreconf -vif + fi +fi + CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ -- cgit v1.2.3