smlinux/net/darkstat/darkstat.SMBuild
PktSurf 0ce1c5846b Upgraded net/darkstat to version 3.0.721
Made small fixes to polkit and rust in base section
2022-08-01 11:23:51 +05:30

33 lines
725 B
Text
Executable file

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"
build() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
autoreconf -vi
./configure \
--prefix="" \
--sbindir=/bin
make
make install DESTDIR=$pkg
cp COPYING* $pkgdocs/
mkfinalpkg
}
sha512sums="
a859d5c3c484e24479fb61998eca4d25ce4472a8bedced1e51ca8dcbfae4a3627fe066a0f926ebfea5c035cc0efcad23d15a2d5bb1c4d7002dd691f325c46a33 darkstat-3.0.719.tar.lz
"