summaryrefslogtreecommitdiff
path: root/network/nethogs/nethogs.SlackBuild
diff options
context:
space:
mode:
authorMichales Michaloudes <korgie@gmail.com>2013-04-23 20:47:52 -0400
committerNiels Horn <niels.horn@slackbuilds.org>2013-04-28 12:29:08 -0300
commit4ed36c40af43ac09e35d2c428920974371972da3 (patch)
tree88a1fd0786f0ae85641ad70a5ffbcb9012e852eb /network/nethogs/nethogs.SlackBuild
parent64a18726ec6128bf8be8d6b3847f31819a88c736 (diff)
downloadslackbuilds-4ed36c40af43ac09e35d2c428920974371972da3.tar.gz
network/nethogs: Updated for version 0.8.0.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/nethogs/nethogs.SlackBuild')
-rw-r--r--network/nethogs/nethogs.SlackBuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/network/nethogs/nethogs.SlackBuild b/network/nethogs/nethogs.SlackBuild
index c6b0706db9..364420a4b9 100644
--- a/network/nethogs/nethogs.SlackBuild
+++ b/network/nethogs/nethogs.SlackBuild
@@ -7,16 +7,14 @@
# sed in SLKCFLAGS and removed template left-overs.
PRGNAM=nethogs
-VERSION=0.7.0
+VERSION=0.8.0
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -56,9 +54,6 @@ sed -i -e '/TODO/d' -e '/default\:/d' decpcap.c
# Modify the Makefile
sed -i -e 's:/usr/share/man/:/usr/man/:' Makefile
-# Use ARCH defined CFLAGS
-sed -i -e "s/-O2/${SLKCFLAGS}/" Makefile
-
# make temp directories
mkdir -p $PKG/usr/bin
mkdir -p $PKG/usr/doc
@@ -67,7 +62,9 @@ mkdir -p $PKG/usr/man/man8
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-make
+make \
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
# was working with 0.6.0 version
# make install DESTDIR=$PKG