summaryrefslogtreecommitdiff
path: root/system/apachetop
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-15 18:31:36 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-15 18:31:36 +0700
commit4ba98ad9f1ea36d6655706ee1dc207003fbb0cd4 (patch)
tree7c0a8c34f09a7d4de2d91ae9262bd053acf64fc7 /system/apachetop
parent38ffa4c60694bbb9bc868e7dc9ef0d851482e4af (diff)
downloadslackbuilds-4ba98ad9f1ea36d6655706ee1dc207003fbb0cd4.tar.gz
system/apachetop: Updated for version 0.17.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/apachetop')
-rw-r--r--system/apachetop/apachetop.SlackBuild9
-rw-r--r--system/apachetop/apachetop.info8
-rw-r--r--system/apachetop/slack-desc2
3 files changed, 10 insertions, 9 deletions
diff --git a/system/apachetop/apachetop.SlackBuild b/system/apachetop/apachetop.SlackBuild
index e7a3a26f91..0554b0aa6b 100644
--- a/system/apachetop/apachetop.SlackBuild
+++ b/system/apachetop/apachetop.SlackBuild
@@ -10,13 +10,13 @@
# See http://sam.zoy.org/wtfpl/COPYING for more details.
PRGNAM=apachetop
-VERSION=${VERSION:-0.15.6}
+VERSION=${VERSION:-0.17.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -27,8 +27,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -65,6 +65,7 @@ patch -p0 < $CWD/apachetop.manpage.diff
# Add --with-adns=<path> if you have adns installed and want ApacheTop support
# Note: The log to parce can be overwritten at runtime, using the '-f' flag.
+./autogen.sh
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
diff --git a/system/apachetop/apachetop.info b/system/apachetop/apachetop.info
index 879151c5cc..9270b6d4b8 100644
--- a/system/apachetop/apachetop.info
+++ b/system/apachetop/apachetop.info
@@ -1,8 +1,8 @@
PRGNAM="apachetop"
-VERSION="0.15.6"
-HOMEPAGE="http://freecode.com/projects/apachetop"
-DOWNLOAD="http://pkgs.fedoraproject.org/repo/pkgs/apachetop/apachetop-0.15.6.tar.gz/69896c163abd3fd1961f5939fbe6c4cf/apachetop-0.15.6.tar.gz"
-MD5SUM="69896c163abd3fd1961f5939fbe6c4cf"
+VERSION="0.17.4"
+HOMEPAGE="https://github.com/tessus/apachetop"
+DOWNLOAD="https://github.com/tessus/apachetop/archive/0.17.4/apachetop-0.17.4.tar.gz"
+MD5SUM="cee4fd250ace4fb07f6f6cb2f44892e1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/system/apachetop/slack-desc b/system/apachetop/slack-desc
index abde1bd151..95761fe03a 100644
--- a/system/apachetop/slack-desc
+++ b/system/apachetop/slack-desc
@@ -14,6 +14,6 @@ apachetop: ApacheTop was written by Chris Elsworth
apachetop:
apachetop:
apachetop:
-apachetop: Project URL: http://freecode.com/projects/apachetop
+apachetop: Project URL: https://github.com/tessus/apachetop
apachetop:
apachetop: