summaryrefslogtreecommitdiff
path: root/network/nethogs/nethogs.SlackBuild
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/nethogs.SlackBuild
parente6ab368c82fc9d48f1975c15c9ee810878a89890 (diff)
downloadslackbuilds-c21486d5860680e6a1bb4a002b45de0bdbbe4173.tar.gz
network/nethogs: Updated for version 0.7.0
Diffstat (limited to 'network/nethogs/nethogs.SlackBuild')
-rw-r--r--network/nethogs/nethogs.SlackBuild9
1 files changed, 6 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}