void-packages/srcpkgs/nethogs/template

20 lines
562 B
Bash

# Template file for 'nethogs'
pkgname=nethogs
version=0.8.1
revision=1
makedepends="libpcap-devel ncurses-devel"
short_desc="Small net top tool grouping bandwidth by process"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-1"
homepage="https://github.com/raboof/nethogs"
distfiles="https://github.com/raboof/nethogs/archive/v${version}.tar.gz"
checksum=4c30ef43814549974a5b01fb1a94eb72ff08628c5a421085b1ce3bfe0524df42
do_build() {
make CC=$CC CXX=$CXX CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" ${makejobs}
}
do_install() {
vbin nethogs
vman nethogs.8
}