void-packages/srcpkgs/bmon/template
Nathan Owens de2f9a69e7 bmon: Add patch for crash in certain conditions
Added patch for crash if terminal is larger than 2048 bytes.
Also added patch for CTRL-N/CTRL-P for next/previous element.
While here, correct license format

Signed-off-by: Nathan Owens <ndowens04@gmail.com>
2019-12-05 15:27:41 +01:00

24 lines
687 B
Bash

# Template file for 'bmon'
pkgname=bmon
version=4.0
revision=4
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-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
}