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