void-packages/srcpkgs/bpfmon/template

23 lines
689 B
Bash
Raw Normal View History

2022-07-15 12:50:21 +02:00
# Template file for 'bpfmon'
pkgname=bpfmon
2023-01-03 15:38:31 +01:00
version=2.51
2022-07-15 12:50:21 +02:00
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"
2023-01-03 15:38:31 +01:00
checksum=a3b922c728856ca357432ded6855382a2f27cd8fd3c92947a94cda657577d779
2022-07-15 12:50:21 +02:00
post_extract() {
vsed -e 's;$(PREFIX)/sbin;$(PREFIX)/bin;g' -i Makefile
}
post_install() {
vman bpfmon.8
}