diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-06-15 18:31:36 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-06-15 18:31:36 +0700 |
commit | 4ba98ad9f1ea36d6655706ee1dc207003fbb0cd4 (patch) | |
tree | 7c0a8c34f09a7d4de2d91ae9262bd053acf64fc7 /system/apachetop/apachetop.SlackBuild | |
parent | 38ffa4c60694bbb9bc868e7dc9ef0d851482e4af (diff) | |
download | slackbuilds-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/apachetop.SlackBuild')
-rw-r--r-- | system/apachetop/apachetop.SlackBuild | 9 |
1 files changed, 5 insertions, 4 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 \ |