aboutsummaryrefslogtreecommitdiffstats
path: root/main/nload/APKBUILD
blob: d969b6830d7b795fae94f12364d8c378268db218 (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: Jeff Bilyk <jbilyk at gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=nload
pkgver=0.7.3
pkgrel=0
pkgdesc="Console network traffic and bandwidth monitor"
url="http://www.roland-riegel.de/nload"
arch="all"
license="GPL"
depends=
makedepends="ncurses-dev"
install=
subpackages="$pkgname-doc"
source="http://www.roland-riegel.de/nload/nload-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
}

md5sums="9b97c37fe1474f1da42f265fead24081  nload-0.7.3.tar.gz"