smlinux/net/darkstat/darkstat.SMBuild
2022-02-13 15:56:03 +05:30

31 lines
707 B
Text
Executable file

app=darkstat
version=3.0.719
build=1sml
homepage="https://github.com/emikulic/darkstat"
download="https://github.com/emikulic/darkstat/archive/refs/tags/3.0.719.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
./configure \
--prefix="" \
--sbindir=/bin
make
make install DESTDIR=$pkg
cp COPYING* $pkgdocs/
mkfinalpkg
}
sha512sums="
a859d5c3c484e24479fb61998eca4d25ce4472a8bedced1e51ca8dcbfae4a3627fe066a0f926ebfea5c035cc0efcad23d15a2d5bb1c4d7002dd691f325c46a33 darkstat-3.0.719.tar.lz
"