summaryrefslogtreecommitdiff
path: root/source/ap/htop
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2020-08-29 17:47:04 +0000
committerEric Hameleers <alien@slackware.com>2020-08-30 08:59:56 +0200
commit37c5a245427fd5970be147fa5bdd3ee1848a684e (patch)
tree98f364cf7aca716982bb10cf87d3ed42e787cd8d /source/ap/htop
parentfd30b064d0dc9f6822635d8c0ca2bd70520d5322 (diff)
downloadcurrent-37c5a245427fd5970be147fa5bdd3ee1848a684e.tar.gz
Sat Aug 29 17:47:04 UTC 202020200829174704
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.
Diffstat (limited to 'source/ap/htop')
-rwxr-xr-xsource/ap/htop/htop.SlackBuild12
-rw-r--r--source/ap/htop/htop.url1
2 files changed, 11 insertions, 2 deletions
diff --git a/source/ap/htop/htop.SlackBuild b/source/ap/htop/htop.SlackBuild
index d3355228..f3428502 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 \
diff --git a/source/ap/htop/htop.url b/source/ap/htop/htop.url
new file mode 100644
index 00000000..82daf3fb
--- /dev/null
+++ b/source/ap/htop/htop.url
@@ -0,0 +1 @@
+https://github.com/htop-dev/htop