aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nethogs/APKBUILD
blob: c0b67e85e1d5dcad04deef5cf3932ddb781649ae (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
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>

pkgname=nethogs
pkgver=0.8.5
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="002fd7227d8ed2a8b0fcb0a1b44731bf  nethogs-0.8.5.tar.gz"
sha256sums="6a9392726feca43228b3f0265379154946ef0544c2ca2cac59ec35a24f469dcc  nethogs-0.8.5.tar.gz"
sha512sums="a2be81fcebc9925dd8a0fd9f71c6e790206819e0cc5efeeeb0c741baa9fd25ec685a1784b6d331d938cf14381403f9c13d619509d0ffe713ce8786a83a380908  nethogs-0.8.5.tar.gz"