network/nethogs: Updated for version 0.7.0

This commit is contained in:
Michales Michaloudes 2010-05-13 00:37:30 +02:00 committed by David Somero
parent e6ab368c82
commit c21486d586
2 changed files with 8 additions and 3 deletions

View file

@ -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}

View file

@ -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"