mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
26 lines
778 B
Text
26 lines
778 B
Text
# Contributor: Milan P. Stanić <mps@arvanta.net>
|
|
# Maintainer: Milan P. Stanić <mps@arvanta.net>
|
|
pkgname=bpfmon
|
|
pkgver=2.51
|
|
pkgrel=0
|
|
pkgdesc="BPF based visual packet rate monitor"
|
|
url="https://github.com/bbonev/bpfmon"
|
|
arch="all"
|
|
license="GPL-2.0-or-later"
|
|
makedepends="libpcap-dev yascreen-dev"
|
|
options="!check" # no test
|
|
subpackages="$pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/bbonev/bpfmon/archive/v$pkgver.tar.gz"
|
|
|
|
build() {
|
|
make PREFIX=/usr
|
|
}
|
|
|
|
package() {
|
|
make PREFIX=/usr INSTALL=install DESTDIR="$pkgdir" install
|
|
install -Dm0644 bpfmon.8 "$pkgdir"/usr/share/man/man8/bpfmon.8
|
|
}
|
|
|
|
sha512sums="
|
|
7b3078bec8864630a5fa2fcc7715bd091ba1c0e968fcbbabb615da677eec268c01d9acb025e99fb78ecb78768d4b684e4e5efa0d29a3282d09b25881674e1920 bpfmon-2.51.tar.gz
|
|
"
|