Gentoo Archives: gentoo-commits

From: "Tony Vroon (chainsaw)" <chainsaw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/snips: ChangeLog snips-1.2-r1.ebuild snips-1.2.ebuild
Date: Mon, 30 Jun 2008 12:19:00
Message-Id: E1KDILN-0003l5-FZ@stork.gentoo.org
1 chainsaw 08/06/30 12:18:53
2
3 Modified: ChangeLog
4 Added: snips-1.2-r1.ebuild
5 Removed: snips-1.2.ebuild
6 Log:
7 Make the build system DESTDIR-aware to de-uglify the ebuild. Patch applied upstream. Eternal glory for a libtool patch that makes the QA warning go away.
8 (Portage version: 2.2_rc1/cvs/Linux 2.6.26-rc7-00051-g62786b9-dirty x86_64)
9
10 Revision Changes Path
11 1.2 net-analyzer/snips/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/snips/ChangeLog?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/snips/ChangeLog?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/snips/ChangeLog?r1=1.1&r2=1.2
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/snips/ChangeLog,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- ChangeLog 27 Jun 2008 15:25:00 -0000 1.1
24 +++ ChangeLog 30 Jun 2008 12:18:52 -0000 1.2
25 @@ -1,6 +1,16 @@
26 # ChangeLog for net-analyzer/snips
27 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snips/ChangeLog,v 1.1 2008/06/27 15:25:00 chainsaw Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snips/ChangeLog,v 1.2 2008/06/30 12:18:52 chainsaw Exp $
30 +
31 +*snips-1.2-r1 (30 Jun 2008)
32 +
33 + 30 Jun 2008; <chainsaw@g.o>
34 + +files/snips-1.2-destdir-awareness.patch,
35 + -files/snips-1.2-precache-config, +files/snips-1.2-r1-precache-config,
36 + -snips-1.2.ebuild, +snips-1.2-r1.ebuild:
37 + Make the build system DESTDIR-aware to de-uglify the ebuild. Patch applied
38 + upstream. Eternal glory for a libtool patch that makes the QA warning go
39 + away.
40
41 *snips-1.2 (27 Jun 2008)
42
43
44
45
46 1.1 net-analyzer/snips/snips-1.2-r1.ebuild
47
48 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/snips/snips-1.2-r1.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/snips/snips-1.2-r1.ebuild?rev=1.1&content-type=text/plain
50
51 Index: snips-1.2-r1.ebuild
52 ===================================================================
53 # Copyright 1999-2008 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/snips/snips-1.2-r1.ebuild,v 1.1 2008/06/30 12:18:52 chainsaw Exp $
56
57 inherit eutils toolchain-funcs
58
59 DESCRIPTION="System & Network Integrated Polling Software"
60 HOMEPAGE="http://www.netplex-tech.com/snips/"
61 SRC_URI="http://www.netplex-tech.com/software/downloads/${PN}/${P}.tar.gz"
62 LICENSE="as-is"
63 SLOT="0"
64 KEYWORDS="~amd64"
65 IUSE=""
66
67 RDEPEND="dev-lang/perl
68 mail-client/mailx
69 net-analyzer/rrdtool
70 >=net-misc/iputils-20071127-r2
71 sys-libs/gdbm
72 sys-libs/ncurses"
73
74 src_unpack() {
75 unpack ${A}
76 cd "${S}"
77 # Gentoo-specific non-interactive configure override
78 cp "${FILESDIR}/${PF}-precache-config" "${S}/Config.cache"
79 echo "CFLAGS=\"${CFLAGS} -fPIC\"" >> "${S}/Config.cache"
80 echo "CC=\"$(tc-getCC)\"" >> "${S}/Config.cache"
81 echo "SRCDIR=\"${S}\"" >> "${S}/Config.cache"
82 epatch "${FILESDIR}/${P}-non-interactive.patch"
83 # Applied to upstream CVS
84 epatch "${FILESDIR}/${P}-implicit-declarations.patch"
85 epatch "${FILESDIR}/${P}-conflicting-types.patch"
86 epatch "${FILESDIR}/${P}-code-ordering.patch"
87 epatch "${FILESDIR}/${P}-destdir-awareness.patch"
88 }
89
90 src_compile() {
91 # Looks horrid due to missing linebreaks, suppress output
92 ebegin "Running configure script (with precached settings)"
93 ./Configure &> /dev/null || die "Unable to configure"
94 eend $?
95 emake || die "emake failed"
96 }
97
98 src_install() {
99 emake DESTDIR="${D}" install || die "emake install failed"
100 }
101
102
103
104 --
105 gentoo-commits@l.g.o mailing list