# Maintainer: PktSurf app=darkstat version=3.0.721 build=1sml homepage="https://github.com/emikulic/darkstat" download="https://github.com/emikulic/darkstat/archive/refs/tags/3.0.721.tar.gz" desc="Gathers and displays network interface statistics over HTTP" requires="zlib libpcap libnl" prepbuilddir() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version fixbuilddirpermissions autoreconf -vi } build() { ./configure \ --prefix=/usr \ --sbindir=/usr/bin make make install DESTDIR=$pkg cp COPYING* $pkgdocs/ mkfinalpkg } sha512sums=" 365adca40e70eb92f26698b1e6207ec21d708858788f10ce631d33031cc8a90556818d8a2e8a8296ac183b6fcfc4c7a0d42426d142bc218052cbd86b26aee0ec darkstat-3.0.721.tar.lz "