diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2023-11-01 19:27:55 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2023-11-22 11:55:33 +0100 |
commit | fb63d9f1c3e0c1eee0deb6856a2d6ca1977e5bcd (patch) | |
tree | f710368413b8b0672f0da209bddd38947904e20c /net-analyzer/bmon | |
parent | net-analyzer/bmon: remove obsolete HOMEPAGE (diff) | |
download | gentoo-fb63d9f1c3e0c1eee0deb6856a2d6ca1977e5bcd.tar.gz gentoo-fb63d9f1c3e0c1eee0deb6856a2d6ca1977e5bcd.tar.bz2 gentoo-fb63d9f1c3e0c1eee0deb6856a2d6ca1977e5bcd.zip |
net-analyzer/bmon: EAPI8, install missing DOCS
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'net-analyzer/bmon')
-rw-r--r-- | net-analyzer/bmon/bmon-4.0-r1.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/net-analyzer/bmon/bmon-4.0-r1.ebuild b/net-analyzer/bmon/bmon-4.0-r1.ebuild new file mode 100644 index 000000000000..15ff96ce5102 --- /dev/null +++ b/net-analyzer/bmon/bmon-4.0-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools linux-info toolchain-funcs + +DESCRIPTION="Interface bandwidth monitor" +HOMEPAGE="https://github.com/tgraf/bmon/" +SRC_URI="https://codeload.github.com/tgraf/${PN}/tar.gz/v${PV} -> ${P}.tar.gz" + +LICENSE="BSD-2 MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=sys-libs/ncurses-5.3-r2:0= + dev-libs/confuse:= + dev-libs/libnl:3 +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +DOCS=( ChangeLog NEWS README ) + +CONFIG_CHECK="~NET_SCHED" +ERROR_NET_SCHED=" + CONFIG_NET_SCHED is not set when it should be. + Run ${PN} -i proc to use the deprecated proc interface instead. +" + +PATCHES=( + "${FILESDIR}"/${PN}-3.6-docdir-examples.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf CURSES_LIB="$("$(tc-getPKG_CONFIG)" --libs ncurses)" +} |