summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-12-17 13:19:04 +0100
committerJeroen Roovers <jer@gentoo.org>2016-12-17 13:19:24 +0100
commit102953e3815480710ecd988dfb8c9c3e82362465 (patch)
tree61f94c6be5179a80dd8f1f9bd8e81110cbe59554 /net-analyzer/bmon/bmon-4.0.ebuild
parentmedia-sound/mpg123: amd64 stable wrt bug #602084 (diff)
downloadgentoo-102953e3815480710ecd988dfb8c9c3e82362465.tar.gz
gentoo-102953e3815480710ecd988dfb8c9c3e82362465.tar.bz2
gentoo-102953e3815480710ecd988dfb8c9c3e82362465.zip
net-analyzer/bmon: Version bump.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'net-analyzer/bmon/bmon-4.0.ebuild')
-rw-r--r--net-analyzer/bmon/bmon-4.0.ebuild49
1 files changed, 49 insertions, 0 deletions
diff --git a/net-analyzer/bmon/bmon-4.0.ebuild b/net-analyzer/bmon/bmon-4.0.ebuild
new file mode 100644
index 000000000000..bb00e7920a29
--- /dev/null
+++ b/net-analyzer/bmon/bmon-4.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit autotools eutils linux-info toolchain-funcs
+
+DESCRIPTION="interface bandwidth monitor"
+HOMEPAGE="http://www.infradead.org/~tgr/bmon/ 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 ~sparc ~x86"
+
+RDEPEND="
+ >=sys-libs/ncurses-5.3-r2:=
+ dev-libs/confuse:=
+ dev-libs/libnl:3
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+"
+
+DOCS=( ChangeLog )
+
+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.
+"
+
+src_prepare() {
+ eapply \
+ "${FILESDIR}"/${PN}-3.6-docdir-examples.patch
+
+ eapply_user
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ CURSES_LIB="$( $(tc-getPKG_CONFIG) --libs ncurses)" \
+ --docdir="/usr/share/doc/${PF}"
+}