### this file is sourced not run
PKGVER=0.8
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=nethogs-0.8.0.tar.gz
MD5SUM=d6fb12b46e80a50c9b9f91dd48e2b234
SRC_URL=http://downloads.sourceforge.net/nethogs/$TARBALL
BUNDLE=

SLACKREQ=libpcap
SLACKDESC="nethogs: nethogs 0.8.0 (Bandwidth monitor)  
nethogs:  
nethogs: NetHogs is a small 'net top' tool. Instead of breaking the traffic 
nethogs: down per protocol or per subnet, like most tools do, it groups 
nethogs: bandwidth by process. NetHogs does not rely on a special kernel 
nethogs: module to be loaded. If there's suddenly a lot of network traffic, 
nethogs: you can fire up NetHogs and immediately see which PID is causing 
nethogs: this. This makes it easy to indentify programs that have gone wild 
nethogs: and are suddenly taking up your bandwidth.  
nethogs: 
nethogs:
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/nethogs*
	make CFLAGS="$CFLAGS" DESTDIR=/usr install &&
	pkg_build_slackdesc
}


