summaryrefslogtreecommitdiff
path: root/repo/iftop/iftop.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/iftop/iftop.xibuild')
-rw-r--r--repo/iftop/iftop.xibuild23
1 files changed, 23 insertions, 0 deletions
diff --git a/repo/iftop/iftop.xibuild b/repo/iftop/iftop.xibuild
new file mode 100644
index 0000000..aade527
--- /dev/null
+++ b/repo/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
+}