aboutsummaryrefslogtreecommitdiffstats
path: root/community/bpfmon/APKBUILD
blob: 34d0946767a2ded9eca70e25f887f238d2ab071a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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
"