Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libdaemon: libdaemon-0.14.ebuild ChangeLog libdaemon-0.10.ebuild
Date: Sun, 01 Nov 2009 17:45:32
Message-Id: E1N4eUb-0003Uh-RB@stork.gentoo.org
1 eva 09/11/01 17:45:29
2
3 Modified: ChangeLog
4 Added: libdaemon-0.14.ebuild
5 Removed: libdaemon-0.10.ebuild
6 Log:
7 Version bump. Install docs in one place, clean up old revisions.
8 (Portage version: 2.2_rc46/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.58 dev-libs/libdaemon/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libdaemon/ChangeLog?rev=1.58&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libdaemon/ChangeLog?rev=1.58&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libdaemon/ChangeLog?r1=1.57&r2=1.58
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libdaemon/ChangeLog,v
20 retrieving revision 1.57
21 retrieving revision 1.58
22 diff -u -r1.57 -r1.58
23 --- ChangeLog 11 Feb 2009 07:40:38 -0000 1.57
24 +++ ChangeLog 1 Nov 2009 17:45:29 -0000 1.58
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-libs/libdaemon
27 -# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdaemon/ChangeLog,v 1.57 2009/02/11 07:40:38 aballier Exp $
29 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdaemon/ChangeLog,v 1.58 2009/11/01 17:45:29 eva Exp $
31 +
32 +*libdaemon-0.14 (01 Nov 2009)
33 +
34 + 01 Nov 2009; Gilles Dartiguelongue <eva@g.o>
35 + -libdaemon-0.10.ebuild, +libdaemon-0.14.ebuild:
36 + Version bump. Install docs in one place, clean up old revisions.
37
38 11 Feb 2009; Alexis Ballier <aballier@g.o>
39 +files/libdaemon-0.13-bsd.patch, libdaemon-0.13-r1.ebuild:
40
41
42
43 1.1 dev-libs/libdaemon/libdaemon-0.14.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libdaemon/libdaemon-0.14.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libdaemon/libdaemon-0.14.ebuild?rev=1.1&content-type=text/plain
47
48 Index: libdaemon-0.14.ebuild
49 ===================================================================
50 # Copyright 1999-2009 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libdaemon/libdaemon-0.14.ebuild,v 1.1 2009/11/01 17:45:29 eva Exp $
53
54 inherit libtool eutils
55
56 DESCRIPTION="Simple library for creating daemon processes in C"
57 HOMEPAGE="http://0pointer.de/lennart/projects/libdaemon/"
58 SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz"
59
60 LICENSE="LGPL-2.1"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
63 IUSE="doc examples"
64
65 RDEPEND=""
66 DEPEND="doc? ( app-doc/doxygen )"
67
68 src_compile() {
69 econf \
70 --docdir=/usr/share/doc/${PF}
71 --localstatedir=/var \
72 --disable-examples \
73 --disable-lynx
74 emake || die "emake failed"
75
76 if use doc ; then
77 einfo "Building documentation"
78 emake doxygen || die "make doxygen failed"
79 fi
80 }
81
82 src_install() {
83 emake DESTDIR="${D}" install || die "make install failed"
84
85 if use doc; then
86 ln -sf doc/reference/html reference
87 dohtml -r doc/README.html doc/style.css reference || die "dohtml failed"
88 doman doc/reference/man/man*/* || "doman failed"
89 fi
90
91 if use examples; then
92 docinto examples
93 dodoc examples/testd.c || die "dodoc 1 failed"
94 fi
95
96 rm -rf "${D}"/usr/share/doc/${PF}/{README.html,style.css} || die "rm failed"
97 dodoc README || die "dodoc 2 failed"
98 }