aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nethogs
diff options
context:
space:
mode:
Diffstat (limited to 'testing/nethogs')
-rw-r--r--testing/nethogs/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/nethogs/APKBUILD b/testing/nethogs/APKBUILD
new file mode 100644
index 0000000000..aa6399fd86
--- /dev/null
+++ b/testing/nethogs/APKBUILD
@@ -0,0 +1,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"