diff options
Diffstat (limited to 'source/ap')
-rwxr-xr-x | source/ap/htop/htop.SlackBuild | 12 | ||||
-rw-r--r-- | source/ap/htop/htop.url | 1 |
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 |