diff options
-rw-r--r-- | network/nethogs/nethogs.SlackBuild | 9 | ||||
-rw-r--r-- | network/nethogs/nethogs.info | 2 |
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" |