void-packages/srcpkgs/nethogs/template
2020-04-12 10:14:12 +02:00

17 lines
588 B
Bash

# Template file for 'nethogs'
pkgname=nethogs
version=0.8.6
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=317c1d5235d4be677e494e931c41d063a783ac0ac51e35e345e621d261c2e5a0
pre_build() {
vsed -i 's,all: decpcap_test test nethogs,all: nethogs,' Makefile
vsed -i 's,/sbin,/bin,' src/MakeApp.mk
}