aboutsummaryrefslogblamecommitdiffstats
path: root/testing/nethogs/APKBUILD
blob: 6c8a215fc840394d068c7c6f3910bca7e43d27f3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
                                                   
                                                             
                                              
               
            






                                                   
                                                                                            
                                   

         

                      


           

                                                  

 


                                                                                                                                                                   
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=nethogs
pkgver=0.8.1
pkgrel=1
pkgdesc="Top-like monitor for network traffic"
url="https://github.com/raboof/nethogs"
arch="all"
license="GPL"
makedepends="libpcap-dev linux-headers ncurses-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/raboof/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	make prefix=/usr DESTDIR="$pkgdir" install
}

md5sums="cc0aed87c4cc67fc2ffc5f60aa67bf3d  nethogs-0.8.1.tar.gz"
sha256sums="4c30ef43814549974a5b01fb1a94eb72ff08628c5a421085b1ce3bfe0524df42  nethogs-0.8.1.tar.gz"
sha512sums="f1af7bb7208d08fc3a51bb38ee475da5a7b8f8814e2a7a653057d0c5d6b4e73be7742ffef5569525822160971f81dd22212d6854483928e621cfddce8d98409f  nethogs-0.8.1.tar.gz"