nethogs: update to 0.8.6.

This commit is contained in:
Daniel Eyßer 2020-04-12 02:37:01 +02:00 committed by Juan RP
parent d381697ade
commit 0e284935bc

View file

@ -1,20 +1,17 @@
# Template file for 'nethogs'
pkgname=nethogs
version=0.8.5
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-1"
license="GPL-2.0-or-later"
homepage="https://github.com/raboof/nethogs"
distfiles="https://github.com/raboof/nethogs/archive/v${version}.tar.gz"
checksum=6a9392726feca43228b3f0265379154946ef0544c2ca2cac59ec35a24f469dcc
checksum=317c1d5235d4be677e494e931c41d063a783ac0ac51e35e345e621d261c2e5a0
do_build() {
sed -i 's,all: decpcap_test test nethogs,all: nethogs,' Makefile
make CC=$CC CXX=$CXX CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" ${makejobs}
}
do_install() {
vbin src/nethogs
vman doc/nethogs.8
pre_build() {
vsed -i 's,all: decpcap_test test nethogs,all: nethogs,' Makefile
vsed -i 's,/sbin,/bin,' src/MakeApp.mk
}