aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nload/APKBUILD
blob: a514bf37405bcb57010a33040ed882b76af991a9 (plain) (blame)
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
# Contributor: 
# Maintainer: 
pkgname=nload
pkgver=0.7.2
pkgrel=0
pkgdesc="Console network traffic and bandwidth monitor"
url="http://www.roland-riegel.de/nload"
license="GPL"
depends=
makedepends="ncurses-dev"
install=
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$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="5b851ecf898edcd1f465946745e95eb6  nload-0.7.2.tar.gz"