23 lines
670 B
Bash
23 lines
670 B
Bash
# Template file for 'bpfmon'
|
|
pkgname=bpfmon
|
|
version=2.53
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libpcap-devel yascreen-devel"
|
|
short_desc="BPF based visual packet rate monitor"
|
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://github.com/bbonev/bpfmon"
|
|
changelog="https://github.com/bbonev/bpfmon/releases"
|
|
distfiles="https://github.com/bbonev/bpfmon/releases/download/v${version}/bpfmon-${version}.tar.xz"
|
|
checksum=f73508a40b093caea8ac20431c19b1e89627311bbd8ff49063ec987378a46a7c
|
|
|
|
post_extract() {
|
|
vsed -e 's;$(PREFIX)/sbin;$(PREFIX)/bin;g' -i Makefile
|
|
}
|
|
|
|
post_install() {
|
|
vman bpfmon.8
|
|
}
|