void-packages/srcpkgs/bmon/template

25 lines
669 B
Bash

# Template file for 'bmon'
pkgname=bmon
version=4.0
revision=5
build_style=gnu-configure
hostmakedepends="automake pkg-config"
makedepends="ncurses-devel libnl3-devel confuse-devel"
short_desc="Bandwidth monitor and rate estimator"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD-2-Clause, MIT"
homepage="https://github.com/tgraf/bmon/"
distfiles="https://github.com/tgraf/bmon/archive/v${version}.tar.gz"
checksum=d5e503ff6b116c681ebf4d10e238604dde836dceb9c0008eb92416a96c87ca40
pre_configure() {
./autogen.sh
}
post_install() {
rm ${DESTDIR}/usr/share/doc/bmon/examples/bmon.conf
vsconf examples/bmon.conf
vlicense LICENSE.BSD
vlicense LICENSE.MIT
}