blob: 6b232a06307195cfc4e3d967f8b8e2ba4fd28e14 (
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
27
28
29
30
31
32
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=bmon
pkgver=3.9
pkgrel=0
pkgdesc="bandwidth monitor and rate estimator"
url="https://github.com/tgraf/bmon"
arch="all"
license="BSD MIT"
depends=""
depends_dev=""
makedepends="$depends_dev libnl3-dev confuse-dev
ncurses-dev linux-headers"
install=""
subpackages="$pkgname-doc"
source="https://github.com/tgraf/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
./configure --prefix=/usr
make || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
md5sums="a959371dc6f8eecdfe27c088447ec636 bmon-3.9.tar.gz"
sha256sums="9c08332520497ef1d51a733ca531ffedbb5a30c7c3f55579efe86c36138f93e1 bmon-3.9.tar.gz"
sha512sums="1aba84fac25bc2bb96fd49706d4deaef22e603f7dc063bfc2eef0f8515be0027b6804c5db0de14a1efe196b8a71e0fdb10d5c1f33fae59204515c4b6e5489b41 bmon-3.9.tar.gz"
|