summaryrefslogtreecommitdiff
path: root/repo/iftop/iftop.xibuild
blob: aade527c7eefa3ea2411edbbf8ecb12a02159e2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
}