summaryrefslogtreecommitdiffstats
path: root/testing/nethogs
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <b@bpiotrowski.pl>2012-07-12 17:37:19 +0200
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2012-07-12 17:51:57 +0200
commit041e9814320274f3625540df53f398ca4fd255b3 (patch)
tree30bb9db0e679a3e9ef9720e2e8a1492e456044bc /testing/nethogs
parent61cd934e27295286d2b45d46338150f81705954d (diff)
downloadaports-041e9814320274f3625540df53f398ca4fd255b3.tar.bz2
aports-041e9814320274f3625540df53f398ca4fd255b3.tar.xz
testing/nethogs: new aport
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 000000000..aa6399fd8
--- /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"