void-packages/srcpkgs/bmon/template

25 lines
678 B
Bash

# Template file for 'bmon'
pkgname=bmon
version=4.0
revision=2
build_style=gnu-configure
hostmakedepends="automake pkg-config"
makedepends="ncurses-devel libnl3-devel confuse-devel"
short_desc="Bandwidth monitor and rate estimator"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="BSD, MIT"
homepage="http://github.com/tgraf/bmon/"
distfiles="http://github.com/tgraf/${pkgname}/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
}