2013-01-20 00:00:10 +01:00
|
|
|
# Template file for 'nethogs'
|
|
|
|
pkgname=nethogs
|
|
|
|
version=0.8.0
|
2015-06-02 17:43:01 +02:00
|
|
|
revision=4
|
2013-01-20 00:00:10 +01:00
|
|
|
makedepends="libpcap-devel ncurses-devel"
|
|
|
|
short_desc="Small net top tool grouping bandwidth by process"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2013-01-20 00:00:10 +01:00
|
|
|
license="GPL-1"
|
|
|
|
homepage="http://nethogs.sourceforge.net"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
|
|
|
|
checksum=b09cb3c2690a522f8b1314221095d5abb1958d50b56de6d36b11a8e6f28961d0
|
|
|
|
wrksrc=$pkgname
|
|
|
|
|
2013-05-14 15:39:29 +02:00
|
|
|
do_build() {
|
2013-01-20 00:00:10 +01:00
|
|
|
sed -i 's|DESTDIR := /usr/local|#DESTDIR := /usr/local|' Makefile
|
2015-06-02 17:43:01 +02:00
|
|
|
make CC=$CC CXX=$CXX CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" ${makejobs}
|
2013-05-14 15:39:29 +02:00
|
|
|
}
|
|
|
|
do_install() {
|
2015-06-02 17:43:01 +02:00
|
|
|
vbin nethogs
|
|
|
|
vman nethogs.8
|
2013-01-20 00:00:10 +01:00
|
|
|
}
|