void-packages/srcpkgs/nethogs/template

18 lines
588 B
Bash

# Template file for 'nethogs'
pkgname=nethogs
version=0.8.7
revision=1
build_style=gnu-makefile
makedepends="libpcap-devel ncurses-devel"
short_desc="Small net top tool grouping bandwidth by process"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/raboof/nethogs"
distfiles="https://github.com/raboof/nethogs/archive/v${version}.tar.gz"
checksum=957d6afcc220dfbba44c819162f44818051c5b4fb793c47ba98294393986617d
pre_build() {
vsed -i 's,all: decpcap_test test nethogs,all: nethogs,' Makefile
vsed -i 's,/sbin,/bin,' src/MakeApp.mk
}