aboutsummaryrefslogblamecommitdiffstats
path: root/main/nload/APKBUILD
blob: f1e93b7b0ff6964a450679d8a994e0ef57990c16 (plain) (tree)
1
2
3
4
5
6
7
8
                                               
                                                   
             
            
        

                                                       
          



                         
                          
                                                               


                                    




                                     

                       



                                 

                                         

                                           







                                      
                                                              
# Contributor: Jeff Bilyk <jbilyk at gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=nload
pkgver=0.7.4
pkgrel=3
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

prepare() {
	cd "$_builddir"
	update_config_sub || return 1
}

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

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

md5sums="3c733c528f244ca5a4f76bf185729c39  nload-0.7.4.tar.gz"