aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bmon/APKBUILD
blob: 0e6e993eb7623af866f0faae473864cc186e9dd6 (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.8
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="162ce0d108ff32cbf44b874c5a7e8147  bmon-3.8.tar.gz"
sha256sums="da3e9f5f82f6e65bf08d912cc1e6ba450e488c543151f4b37791da03373054ff  bmon-3.8.tar.gz"
sha512sums="629a8678bf76e2dab125a08b334925f953e3ddd5ee0b2b865f157013a5462a5fa8e1bc76920487a03f5afdf12143c4a2cc1c6ab51d514119ca9754cc67117d84  bmon-3.8.tar.gz"