summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-07-25 08:02:04 +0200
committerJeroen Roovers <jer@gentoo.org>2016-07-25 08:02:25 +0200
commit842891a82cfa70fcfe4257a1910f0dd7cb64531b (patch)
tree8f2de00f5847053f1151b60bb49da406899fb9af /net-analyzer
parentnet-misc/teamviewer: Fix maintainer in metadata (diff)
downloadgentoo-842891a82cfa70fcfe4257a1910f0dd7cb64531b.tar.gz
gentoo-842891a82cfa70fcfe4257a1910f0dd7cb64531b.tar.bz2
gentoo-842891a82cfa70fcfe4257a1910f0dd7cb64531b.zip
net-analyzer/bmon: Version bump.
Package-Manager: portage-2.3.0
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/bmon/Manifest1
-rw-r--r--net-analyzer/bmon/bmon-3.9.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/net-analyzer/bmon/Manifest b/net-analyzer/bmon/Manifest
index e43682f0868d..5222d67e62ea 100644
--- a/net-analyzer/bmon/Manifest
+++ b/net-analyzer/bmon/Manifest
@@ -1 +1,2 @@
DIST bmon-3.8.tar.gz 58319 SHA256 6bb2bbdd619f279132e54f1fa83fc98c0f75003766f82d6b7cd36c8a46900453 SHA512 692dcf4c4274e892b88651ddc2c53ebe5f419cc41c48129cd621d85bf10568c701caea9eaae357b53a0ffc937f2199378cbbc13cbf110aa121e8e2432eee9519 WHIRLPOOL a4ed559c95eb12a3d0bbd727143c83a3197ba726c6c21b2f221beafd25c904ca4e58fe29b0fba47ad86f2241c1d60e3b5b7418463fd1c8aa6c6f7588469b8dcb
+DIST bmon-3.9.tar.gz 61176 SHA256 02120aafb1959285562074490c0a9f7f8648161f9db534cf5792fc16d6e0326c SHA512 4ae7bc557d0c59694f6fbf0a7e91969bd83c3b48fe507be95bfe88b3211d57231de24ebd6358d1c0feca490f4d1ea10fade16baf1d1d683c82e76343a730c705 WHIRLPOOL 2f266f7b47a24fe6929f94cb3547ad9e3033ff60bcc0200a0d8d6b82b00bf7870786aaa674191c4fd8a98efbc7b3b90c35065fa7ed3b4eb503fee0030cb57099
diff --git a/net-analyzer/bmon/bmon-3.9.ebuild b/net-analyzer/bmon/bmon-3.9.ebuild
new file mode 100644
index 000000000000..289e752ba560
--- /dev/null
+++ b/net-analyzer/bmon/bmon-3.9.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 ~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}"
+}