net-analyzer/bmon: Version bump.
authorJeroen Roovers <jer@gentoo.org>
Wed, 12 Aug 2015 06:12:15 +0000 (08:12 +0200)
committerJeroen Roovers <jer@gentoo.org>
Wed, 12 Aug 2015 06:12:15 +0000 (08:12 +0200)
Package-Manager: portage-2.2.20.1

net-analyzer/bmon/Manifest
net-analyzer/bmon/bmon-3.8.ebuild [new file with mode: 0644]

index ea51ee8644a3f5eec8a60295587f6d02ebd611d1..097078bbeead9ef966be5486af04317e22bea9a1 100644 (file)
@@ -1,2 +1,3 @@
 DIST bmon-3.6.tar.gz 57883 SHA256 7d9d9b5af751cb61e267b43309506f03e82636282742fce89209f2378ae6a4b1 SHA512 e0c3d828d5391511ea52b1058a22f5eea250c5221664a7c05d7c36fabc361905dcc6cb97184ba0f366e4fe710e33816f72ad59a5856b90265a6b1a415de319e7 WHIRLPOOL d6eaf1b94f6a3dc7d16afe03146a2f8c67514c5fd9cf2956a89f5da6730d329e474b98d6cf3f6138e19e3e1d063aa4b69f325f478b63f8d4bb6fb6b708d13570
 DIST bmon-3.7.tar.gz 58233 SHA256 1e595c9936d8dbc85d91ecc00c3b6a4e49d4f6cade7a8bced3b291925894bb16 SHA512 ef0a50491a2f905b368eb23db5bcfb1c05b2f7fb81f272248a9c6134e7bef06e3db775f18c8e5500cd209461bcb7265c086abb88b55f36009a2040641f64df56 WHIRLPOOL 6ba57c7c726273d0891041580e826654ef75c53cc92b96b4c40021a42aa5959062140a26808f20bfe166bbbbb57ca5daa8b877528e0aa708144e13a3d69003be
+DIST bmon-3.8.tar.gz 58319 SHA256 6bb2bbdd619f279132e54f1fa83fc98c0f75003766f82d6b7cd36c8a46900453 SHA512 692dcf4c4274e892b88651ddc2c53ebe5f419cc41c48129cd621d85bf10568c701caea9eaae357b53a0ffc937f2199378cbbc13cbf110aa121e8e2432eee9519 WHIRLPOOL a4ed559c95eb12a3d0bbd727143c83a3197ba726c6c21b2f221beafd25c904ca4e58fe29b0fba47ad86f2241c1d60e3b5b7418463fd1c8aa6c6f7588469b8dcb
diff --git a/net-analyzer/bmon/bmon-3.8.ebuild b/net-analyzer/bmon/bmon-3.8.ebuild
new file mode 100644 (file)
index 0000000..c2de555
--- /dev/null
@@ -0,0 +1,49 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils linux-info toolchain-funcs
+
+DESCRIPTION="interface bandwidth monitor"
+HOMEPAGE="http://www.infradead.org/~tgr/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 ~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() {
+       epatch \
+               "${FILESDIR}"/${PN}-3.6-docdir-examples.patch
+
+       epatch_user
+
+       eautoreconf
+}
+
+src_configure() {
+       econf \
+               CURSES_LIB="$( $(tc-getPKG_CONFIG) --libs ncurses)" \
+               --docdir="/usr/share/doc/${PF}"
+}