Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libnl: ChangeLog libnl-3.2.8.ebuild
Date: Tue, 01 May 2012 17:10:19
Message-Id: 20120501171004.A91E92004C@flycatcher.gentoo.org
1 jer 12/05/01 17:10:04
2
3 Modified: ChangeLog libnl-3.2.8.ebuild
4 Log:
5 Readd USE=doc.
6
7 (Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.75 dev-libs/libnl/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libnl/ChangeLog?rev=1.75&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libnl/ChangeLog?rev=1.75&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libnl/ChangeLog?r1=1.74&r2=1.75
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libnl/ChangeLog,v
19 retrieving revision 1.74
20 retrieving revision 1.75
21 diff -u -r1.74 -r1.75
22 --- ChangeLog 1 May 2012 17:08:36 -0000 1.74
23 +++ ChangeLog 1 May 2012 17:10:04 -0000 1.75
24 @@ -1,6 +1,9 @@
25 # ChangeLog for dev-libs/libnl
26 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/ChangeLog,v 1.74 2012/05/01 17:08:36 jer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/ChangeLog,v 1.75 2012/05/01 17:10:04 jer Exp $
29 +
30 + 01 May 2012; Jeroen Roovers <jer@g.o> libnl-3.2.8.ebuild:
31 + Readd USE=doc.
32
33 01 May 2012; Jeroen Roovers <jer@g.o> libnl-1.1-r3.ebuild:
34 Remove empty RDEPEND. PATCHES -> DOCS.
35
36
37
38 1.2 dev-libs/libnl/libnl-3.2.8.ebuild
39
40 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libnl/libnl-3.2.8.ebuild?rev=1.2&view=markup
41 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libnl/libnl-3.2.8.ebuild?rev=1.2&content-type=text/plain
42 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libnl/libnl-3.2.8.ebuild?r1=1.1&r2=1.2
43
44 Index: libnl-3.2.8.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-3.2.8.ebuild,v
47 retrieving revision 1.1
48 retrieving revision 1.2
49 diff -u -r1.1 -r1.2
50 --- libnl-3.2.8.ebuild 1 May 2012 16:10:45 -0000 1.1
51 +++ libnl-3.2.8.ebuild 1 May 2012 17:10:04 -0000 1.2
52 @@ -1,9 +1,9 @@
53 # Copyright 1999-2012 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-3.2.8.ebuild,v 1.1 2012/05/01 16:10:45 jer Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-3.2.8.ebuild,v 1.2 2012/05/01 17:10:04 jer Exp $
57
58 EAPI=4
59 -inherit eutils multilib
60 +inherit autotools eutils multilib
61
62 DESCRIPTION="A library for applications dealing with netlink socket"
63 HOMEPAGE="http://www.infradead.org/~tgr/libnl/"
64 @@ -11,24 +11,35 @@
65 LICENSE="LGPL-2.1"
66 SLOT="3"
67 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux"
68 -IUSE="static-libs utils"
69 +IUSE="doc static-libs utils"
70
71 DEPEND="
72 sys-devel/flex
73 virtual/yacc
74 + doc? ( app-doc/doxygen[dot,latex] )
75 "
76
77 src_prepare() {
78 epatch \
79 "${FILESDIR}"/${PN}-1.1-vlan-header.patch
80 + sed -i doc/Makefile.am -e 's|api_refs|api_ref|g' || die
81 + eautomake
82 }
83
84 src_configure() {
85 econf $(use_enable static-libs static) $(use_enable utils cli)
86 }
87
88 +src_compile() {
89 + default
90 + use doc && emake -C doc api_ref
91 +}
92 +
93 src_install() {
94 default
95 + if use doc; then
96 + dohtml doc/api/*
97 + fi
98
99 if ! use static-libs; then
100 rm -f "${D}"/usr/lib*/lib*.la