aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nethogs/APKBUILD
blob: aa6399fd86c4674013e85ecfe7e7c5c1f8cece01 (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
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>

pkgname=nethogs
pkgver=0.8.0
pkgrel=0
pkgdesc='Top-like monitor for network traffic'
url='http://nethogs.sourceforge.net'
arch='all'
license='GPL'
makedepends='libpcap-dev ncurses-dev'
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" 

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

package() {
    cd "$srcdir"/$pkgname
    make DESTDIR="$pkgdir/usr" install
}

md5sums="d6fb12b46e80a50c9b9f91dd48e2b234  nethogs-0.8.0.tar.gz"