Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/bmon: ChangeLog bmon-2.1.1_pre1.ebuild
Date: Tue, 20 Jan 2009 17:14:17
Message-Id: E1LPKB2-0005w5-JV@stork.gentoo.org
1 jer 09/01/20 17:14:12
2
3 Modified: ChangeLog
4 Added: bmon-2.1.1_pre1.ebuild
5 Log:
6 Version bump. Probably the last ever.
7 (Portage version: 2.2_rc23/cvs/Linux i686)
8
9 Revision Changes Path
10 1.41 net-analyzer/bmon/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/bmon/ChangeLog?rev=1.41&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/bmon/ChangeLog?rev=1.41&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/bmon/ChangeLog?r1=1.40&r2=1.41
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/bmon/ChangeLog,v
19 retrieving revision 1.40
20 retrieving revision 1.41
21 diff -u -r1.40 -r1.41
22 --- ChangeLog 20 Jan 2009 17:01:29 -0000 1.40
23 +++ ChangeLog 20 Jan 2009 17:14:12 -0000 1.41
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-analyzer/bmon
26 # Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bmon/ChangeLog,v 1.40 2009/01/20 17:01:29 jer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bmon/ChangeLog,v 1.41 2009/01/20 17:14:12 jer Exp $
29 +
30 +*bmon-2.1.1_pre1 (20 Jan 2009)
31 +
32 + 20 Jan 2009; Jeroen Roovers <jer@g.o> +bmon-2.1.1_pre1.ebuild:
33 + Version bump. Probably the last ever.
34
35 20 Jan 2009; Jeroen Roovers <jer@g.o>
36 files/bmon-2.1.0-libnl-1.0.patch:
37
38
39
40 1.1 net-analyzer/bmon/bmon-2.1.1_pre1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/bmon/bmon-2.1.1_pre1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/bmon/bmon-2.1.1_pre1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: bmon-2.1.1_pre1.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/bmon/bmon-2.1.1_pre1.ebuild,v 1.1 2009/01/20 17:14:12 jer Exp $
50
51 inherit eutils toolchain-funcs
52
53 MY_PV="${PV/_pre/-pre}"
54 S="${WORKDIR}/${PN}-${MY_PV}"
55
56 DESCRIPTION="interface bandwidth monitor"
57 HOMEPAGE="http://people.suug.ch/~tgr/bmon/"
58 SRC_URI="http://people.suug.ch/~tgr/bmon/files/${PN}-${MY_PV}.tar.gz"
59
60 LICENSE="Artistic"
61 SLOT="0"
62 KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
63 IUSE="dbi rrdtool"
64
65 DEPEND=">=sys-libs/ncurses-5.3-r2
66 >=dev-libs/libnl-0.5.0
67 dbi? ( >=dev-db/libdbi-0.7.2-r1 )
68 rrdtool? ( >=net-analyzer/rrdtool-1.2.6-r1 )"
69
70 src_unpack() {
71 unpack ${A}
72 cd "${S}"
73 # gcc4 fix, bug 105343
74 epatch "${FILESDIR}"/${PN}-2.1.0-gcc4.diff
75 # Don't strip, bug #144370
76 epatch "${FILESDIR}"/${PN}-2.1.0-nostrip.patch
77 # libnl crap, bug 176378
78 epatch "${FILESDIR}"/${PN}-2.1.0-libnl-1.0.patch
79
80 }
81
82 src_compile() {
83 econf \
84 $(use_enable dbi) \
85 $(use_enable rrdtool rrd) || die "econf failed"
86 emake CPPFLAGS="${CXXFLAGS} -I${WORKDIR}/libnl-${NLVER}/include" || die "emake failed"
87 }
88
89 src_install() {
90 emake DESTDIR="${D}" install || die "emake install failed"
91 dodoc ChangeLog
92 }