summaryrefslogtreecommitdiff
path: root/system/apachetop/apachetop.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/apachetop/apachetop.SlackBuild')
-rw-r--r--system/apachetop/apachetop.SlackBuild9
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 \