Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libdaemon: ChangeLog libdaemon-0.14-r1.ebuild libdaemon-0.12.ebuild libdaemon-0.13-r1.ebuild
Date: Wed, 28 Dec 2011 14:55:04
Message-Id: 20111228145454.46AE62004B@flycatcher.gentoo.org
1 scarabeus 11/12/28 14:54:54
2
3 Modified: ChangeLog libdaemon-0.14-r1.ebuild
4 Removed: libdaemon-0.12.ebuild libdaemon-0.13-r1.ebuild
5 Log:
6 Remove overshadowed versions. Bump latest to eapi4. Remove libtool archive. Provide static-libs useflag.
7
8 (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.72 dev-libs/libdaemon/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libdaemon/ChangeLog?rev=1.72&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libdaemon/ChangeLog?rev=1.72&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libdaemon/ChangeLog?r1=1.71&r2=1.72
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libdaemon/ChangeLog,v
20 retrieving revision 1.71
21 retrieving revision 1.72
22 diff -u -r1.71 -r1.72
23 --- ChangeLog 5 Mar 2011 12:29:31 -0000 1.71
24 +++ ChangeLog 28 Dec 2011 14:54:54 -0000 1.72
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-libs/libdaemon
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdaemon/ChangeLog,v 1.71 2011/03/05 12:29:31 armin76 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdaemon/ChangeLog,v 1.72 2011/12/28 14:54:54 scarabeus Exp $
30 +
31 + 28 Dec 2011; Tomáš Chvátal <scarabeus@g.o> -libdaemon-0.12.ebuild,
32 + -libdaemon-0.13-r1.ebuild, -files/libdaemon-0.13-bsd.patch,
33 + libdaemon-0.14-r1.ebuild:
34 + Remove overshadowed versions. Bump latest to eapi4. Remove libtool archive.
35 + Provide static-libs useflag.
36
37 05 Mar 2011; Raúl Porcel <armin76@g.o> libdaemon-0.14-r1.ebuild:
38 alpha/arm/ia64/s390/sh/sparc stable wrt #355583
39
40
41
42 1.7 dev-libs/libdaemon/libdaemon-0.14-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libdaemon/libdaemon-0.14-r1.ebuild?rev=1.7&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libdaemon/libdaemon-0.14-r1.ebuild?rev=1.7&content-type=text/plain
46 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libdaemon/libdaemon-0.14-r1.ebuild?r1=1.6&r2=1.7
47
48 Index: libdaemon-0.14-r1.ebuild
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libdaemon/libdaemon-0.14-r1.ebuild,v
51 retrieving revision 1.6
52 retrieving revision 1.7
53 diff -u -r1.6 -r1.7
54 --- libdaemon-0.14-r1.ebuild 5 Mar 2011 12:29:31 -0000 1.6
55 +++ libdaemon-0.14-r1.ebuild 28 Dec 2011 14:54:54 -0000 1.7
56 @@ -1,6 +1,8 @@
57 # Copyright 1999-2011 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdaemon/libdaemon-0.14-r1.ebuild,v 1.6 2011/03/05 12:29:31 armin76 Exp $
60 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdaemon/libdaemon-0.14-r1.ebuild,v 1.7 2011/12/28 14:54:54 scarabeus Exp $
61 +
62 +EAPI=4
63
64 inherit libtool eutils
65
66 @@ -11,39 +13,46 @@
67 LICENSE="LGPL-2.1"
68 SLOT="0"
69 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
70 -IUSE="doc examples"
71 +IUSE="doc examples static-libs"
72
73 RDEPEND=""
74 DEPEND="doc? ( app-doc/doxygen )"
75
76 -src_compile() {
77 +DOCS=( "README" )
78 +
79 +src_configure() {
80 econf \
81 - --docdir=/usr/share/doc/${PF} \
82 + --docdir="${EPREFIX}/usr/share/doc/${PF}" \
83 --localstatedir=/var \
84 --disable-examples \
85 - --disable-lynx
86 - emake || die "emake failed"
87 + --disable-lynx \
88 + $(use_enable static-libs static)
89 +}
90 +
91 +src_compile() {
92 + emake
93
94 if use doc ; then
95 einfo "Building documentation"
96 - emake doxygen || die "make doxygen failed"
97 + emake doxygen
98 fi
99 }
100
101 src_install() {
102 - emake DESTDIR="${D}" install || die "make install failed"
103 + default
104 +
105 + find "${ED}" -name '*.la' -exec rm -f {} +
106
107 if use doc; then
108 ln -sf doc/reference/html reference
109 - dohtml -r doc/README.html doc/style.css reference || die "dohtml failed"
110 - doman doc/reference/man/man*/* || die "doman failed"
111 + dohtml -r doc/README.html doc/style.css reference
112 + doman doc/reference/man/man*/*
113 fi
114
115 if use examples; then
116 docinto examples
117 - dodoc examples/testd.c || die "dodoc 1 failed"
118 + dodoc examples/testd.c
119 fi
120
121 - rm -rf "${D}"/usr/share/doc/${PF}/{README.html,style.css} || die "rm failed"
122 - dodoc README || die "dodoc 2 failed"
123 + rm -rf "${ED}"/usr/share/doc/${PF}/{README.html,style.css} || die "rm failed"
124 }