33 lines
726 B
Text
Executable file
33 lines
726 B
Text
Executable file
app=iftop
|
|
version=0.17
|
|
build=1sml
|
|
homepage="https://www.ex-parrot.com/pdw/iftop/"
|
|
download="https://www.ex-parrot.com/pdw/iftop/download/iftop-0.17.tar.gz"
|
|
desc="Curses-based network interface monitoring application"
|
|
requires="netbsd-curses libpcap"
|
|
|
|
build() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
|
|
./configure \
|
|
--prefix="" \
|
|
--sbindir=/bin \
|
|
--mandir=/share/man \
|
|
$builddist
|
|
|
|
make
|
|
make install DESTDIR=$pkg
|
|
|
|
cp COPYING $pkgdocs/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
41e3bc5feac5927f67356f491fcab7a28f7a32102cc33c67d81c1dc755273c42e32b540b14b6254a540f1b6c1b1ad6c50e3095c3b5282db2ea12dd0049ce2ebd iftop-0.17.tar.gz
|
|
"
|