void-packages/srcpkgs/bmon/template
2019-12-25 15:26:15 +01:00

24 lines
673 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="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
}