23 lines
689 B
Bash
23 lines
689 B
Bash
# Template file for 'bpfmon'
|
|
pkgname=bpfmon
|
|
version=2.50
|
|
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/raw/master/debian/changelog"
|
|
distfiles="https://github.com/bbonev/bpfmon/releases/download/v${version}/bpfmon-${version}.tar.xz"
|
|
checksum=5ae18fd185866088721890a4010ab4a926b9abb912be3144e09a3c6866a11782
|
|
|
|
post_extract() {
|
|
vsed -e 's;$(PREFIX)/sbin;$(PREFIX)/bin;g' -i Makefile
|
|
}
|
|
|
|
post_install() {
|
|
vman bpfmon.8
|
|
}
|