summaryrefslogtreecommitdiffstats
path: root/main/bwm-ng/APKBUILD
blob: 16ade39aac07fc5780d5574dd07b9bdb6ad3e867 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=bwm-ng
pkgver=0.6
pkgrel=2
pkgdesc="A small and simple console-based live bandwidth monitor"
url="http://www.gropp.org/"
arch="all"
license="GPL"
subpackages="$pkgname-doc"
depends=
makedepends="ncurses-dev"
source="http://www.gropp.org/$pkgname/$pkgname-$pkgver.tar.gz"

build ()
{
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr \
		 --with-libstatgrab \
		 --with-procnetdev \
		 --with-ncurses \
		 --with-partitions

	make || return 1
	make DESTDIR="$pkgdir" install || return 1

}
md5sums="d3a02484fb7946371bfb4e10927cebfb  bwm-ng-0.6.tar.gz"