diff options
Diffstat (limited to 'network/nethogs/nethogs.SlackBuild')
-rw-r--r-- | network/nethogs/nethogs.SlackBuild | 11 |
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 |