summaryrefslogtreecommitdiff
path: root/repo/util/iftop
diff options
context:
space:
mode:
Diffstat (limited to 'repo/util/iftop')
-rw-r--r--repo/util/iftop/iftop.xibuild23
1 files changed, 23 insertions, 0 deletions
diff --git a/repo/util/iftop/iftop.xibuild b/repo/util/iftop/iftop.xibuild
new file mode 100644
index 0000000..aade527
--- /dev/null
+++ b/repo/util/iftop/iftop.xibuild
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+NAME="iftop"
+DESC="A tool to display bandwidth usage on an interface"
+
+MAKEDEPS="make "
+DEPS="libpcap musl "
+
+PKG_VER=0.17
+SOURCE="https://www.ex-parrot.com/~pdw/iftop/download/iftop-$PKG_VER.tar.gz"
+
+build () {
+ ./configure \
+ --prefix=/usr \
+ --bindir=/usr/bin \
+ --sysconfdir=/etc \
+ --disable-static
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}