aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nethogs/APKBUILD
blob: 13bca14422225a17023d9e66c01a60747cc72629 (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
# 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=0
pkgdesc='Top-like monitor for network traffic'
url='https://github.com/raboof/nethogs'
arch='all'
license='GPL'
makedepends='libpcap-dev ncurses-dev linux-headers'
source="$pkgname-$pkgver.tar.gz::https://github.com/raboof/$pkgname/archive/v$pkgver.tar.gz"

build() {
    cd "$srcdir"/$pkgname-$pkgver
    make
}

package() {
    cd "$srcdir"/$pkgname-$pkgver
    make DESTDIR="$pkgdir/usr" 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"