aboutsummaryrefslogtreecommitdiffstats
path: root/community/bmon/APKBUILD
blob: 2191f9c524bacd0de59d0e2445dfdeabbde310d3 (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=4.0
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="8ec83f7e6f6a8a41c60c3ffdc9605e69  bmon-4.0.tar.gz"
sha256sums="02fdc312b8ceeb5786b28bf905f54328f414040ff42f45c83007f24b76cc9f7a  bmon-4.0.tar.gz"
sha512sums="5b8cc965b0b05c4bc107d038bba4fcd3317a89bc5e33f77f45a05431c197ad7fa4054d5b0f4ca9b52e8779cb4463d0f429bf22c7a2047abb1ca39174220a46ad  bmon-4.0.tar.gz"