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
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')
-rw-r--r--net-analyzer/bmon/Manifest1
-rw-r--r--net-analyzer/bmon/bmon-4.0.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/net-analyzer/bmon/Manifest b/net-analyzer/bmon/Manifest
index ed2b132b1f65..812521ff0a8a 100644
--- a/net-analyzer/bmon/Manifest
+++ b/net-analyzer/bmon/Manifest
@@ -1 +1,2 @@
DIST bmon-3.9.tar.gz 61176 SHA256 02120aafb1959285562074490c0a9f7f8648161f9db534cf5792fc16d6e0326c SHA512 4ae7bc557d0c59694f6fbf0a7e91969bd83c3b48fe507be95bfe88b3211d57231de24ebd6358d1c0feca490f4d1ea10fade16baf1d1d683c82e76343a730c705 WHIRLPOOL 2f266f7b47a24fe6929f94cb3547ad9e3033ff60bcc0200a0d8d6b82b00bf7870786aaa674191c4fd8a98efbc7b3b90c35065fa7ed3b4eb503fee0030cb57099
+DIST bmon-4.0.tar.gz 61843 SHA256 d5e503ff6b116c681ebf4d10e238604dde836dceb9c0008eb92416a96c87ca40 SHA512 2a5b527a78cc1084c3b96d8d621b002ee86d377776d7e25f711dc2869e59bcd6277cc5f103549fe0b635b1368228a66941d5069fd1240cff678b308d7e17218d WHIRLPOOL ba1a562da80b3d950807941c2a97a20750a6d1b2d15eaa6d585fbc1eb5dc82bfcbf4ceabe5fddba0d72a76542c0aed26420b28b478cca9e8c28e67b380c9f0fb
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}"
+}