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

# source: james
TARBALL=nethogs-20180518.tar.bz2
MD5SUM=505f736826b51d09f5dd56552ce0e458
SRC_URL=http://distro.ibiblio.org/fatdog/source/800/$TARBALL
BUNDLE=

SLACKREQ=libpcap
SLACKDESC="nethogs: nethogs $PKGVER (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:https://github.com/raboof/nethogs
"

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


