summaryrefslogtreecommitdiff
path: root/network/nethogs
diff options
context:
space:
mode:
authorMichales Michaloudes <korgie@gmail.com>2010-05-13 00:37:30 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:37:30 +0200
commitc21486d5860680e6a1bb4a002b45de0bdbbe4173 (patch)
tree0fa62d72439c7cff92e15c710c4dda83a8cce595 /network/nethogs
parente6ab368c82fc9d48f1975c15c9ee810878a89890 (diff)
downloadslackbuilds-c21486d5860680e6a1bb4a002b45de0bdbbe4173.tar.gz
network/nethogs: Updated for version 0.7.0
Diffstat (limited to 'network/nethogs')
-rw-r--r--network/nethogs/nethogs.SlackBuild9
-rw-r--r--network/nethogs/nethogs.info2
2 files changed, 8 insertions, 3 deletions
diff --git a/network/nethogs/nethogs.SlackBuild b/network/nethogs/nethogs.SlackBuild
index b4c7c3cc5d..88fe697e87 100644
--- a/network/nethogs/nethogs.SlackBuild
+++ b/network/nethogs/nethogs.SlackBuild
@@ -21,10 +21,13 @@ set -e
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
-elif [ "$ARCH" = "Piii" ]; then
- SLKCFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
rm -rf $PKG
@@ -70,4 +73,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/nethogs/nethogs.info b/network/nethogs/nethogs.info
index 19a72d103b..e437cd6dbe 100644
--- a/network/nethogs/nethogs.info
+++ b/network/nethogs/nethogs.info
@@ -2,7 +2,9 @@ PRGNAM="nethogs"
VERSION="0.7.0"
HOMEPAGE="http://nethogs.sourceforge.net"
DOWNLOAD="http://downloads.sourceforge.net/sourceforge/nethogs/nethogs-0.7.0.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="e5f04071571e469e14c89f637cfa34a2"
+MD5SUM_x86_64=""
MAINTAINER="Michales Michaloudes"
EMAIL="korgie@gmail.com"
APPROVED="dsomero"