23 lines
670 B
Bash
23 lines
670 B
Bash
# Template file for 'bpfmon'
|
|
pkgname=bpfmon
|
|
version=2.52
|
|
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=e4e882c6d998b8adb04e1372d4f7a3342fede472770ab3aa9bf6ebd5b848c5e7
|
|
|
|
post_extract() {
|
|
vsed -e 's;$(PREFIX)/sbin;$(PREFIX)/bin;g' -i Makefile
|
|
}
|
|
|
|
post_install() {
|
|
vman bpfmon.8
|
|
}
|