Gentoo Archives: gentoo-commits

From: "Tiziano Mueller (dev-zero)" <dev-zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/log4cxx: ChangeLog log4cxx-0.10.0.ebuild log4cxx-0.9.7-r3.ebuild
Date: Tue, 06 May 2008 08:07:02
Message-Id: E1JtICQ-0002Od-Pv@stork.gentoo.org
1 dev-zero 08/05/06 08:06:58
2
3 Modified: ChangeLog
4 Added: log4cxx-0.10.0.ebuild
5 Removed: log4cxx-0.9.7-r3.ebuild
6 Log:
7 Version bumpg (bug #220203). Dropped old version.
8 (Portage version: 2.1.5_rc6)
9
10 Revision Changes Path
11 1.24 dev-libs/log4cxx/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/log4cxx/ChangeLog?rev=1.24&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/log4cxx/ChangeLog?rev=1.24&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/log4cxx/ChangeLog?r1=1.23&r2=1.24
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/log4cxx/ChangeLog,v
20 retrieving revision 1.23
21 retrieving revision 1.24
22 diff -u -r1.23 -r1.24
23 --- ChangeLog 23 Jun 2007 19:21:09 -0000 1.23
24 +++ ChangeLog 6 May 2008 08:06:58 -0000 1.24
25 @@ -1,6 +1,13 @@
26 # ChangeLog for dev-libs/log4cxx
27 -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/log4cxx/ChangeLog,v 1.23 2007/06/23 19:21:09 armin76 Exp $
29 +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/log4cxx/ChangeLog,v 1.24 2008/05/06 08:06:58 dev-zero Exp $
31 +
32 +*log4cxx-0.10.0 (06 May 2008)
33 +
34 + 06 May 2008; Tiziano Müller <dev-zero@g.o>
35 + +files/0.10.0-missing_includes.patch, -log4cxx-0.9.7-r3.ebuild,
36 + +log4cxx-0.10.0.ebuild:
37 + Version bumpg (bug #220203). Dropped old version.
38
39 23 Jun 2007; Raúl Porcel <armin76@g.o> log4cxx-0.9.7-r4.ebuild:
40 x86 stable
41
42
43
44 1.1 dev-libs/log4cxx/log4cxx-0.10.0.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/log4cxx/log4cxx-0.10.0.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/log4cxx/log4cxx-0.10.0.ebuild?rev=1.1&content-type=text/plain
48
49 Index: log4cxx-0.10.0.ebuild
50 ===================================================================
51 # Copyright 1999-2008 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-libs/log4cxx/log4cxx-0.10.0.ebuild,v 1.1 2008/05/06 08:06:58 dev-zero Exp $
54
55 EAPI="1"
56
57 inherit eutils
58
59 MY_P="apache-${P}"
60
61 DESCRIPTION="Library of C++ classes for flexible logging to files, syslog and other destinations"
62 HOMEPAGE="http://logging.apache.org/log4cxx/"
63 SRC_URI="http://www.apache.org/dist/logging/${PN}/${PV}/${MY_P}.tar.gz"
64 LICENSE="Apache-2.0"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86"
67 IUSE="doc iodbc unicode odbc smtp"
68
69 RDEPEND="dev-libs/apr:1
70 dev-libs/apr-util:1
71 odbc? (
72 iodbc? ( >=dev-db/libiodbc-3.52.4 )
73 !iodbc? ( dev-db/unixODBC ) )
74 smtp? ( net-libs/libesmtp )"
75 DEPEND="${RDEPEND}"
76
77 S="${WORKDIR}/${MY_P}"
78
79 pkg_setup() {
80 if use iodbc && ! use odbc ; then
81 elog "Please enable the odbc USE-flag as well if you want odbc-support through iodbc."
82 fi
83 }
84
85 src_unpack() {
86 unpack ${A}
87 cd "${S}"
88
89 epatch "${FILESDIR}/${PV}-missing_includes.patch"
90 }
91
92 src_compile() {
93 use smtp && myconf="${myconf} --with-SMTP=libesmtp"
94 if use odbc ; then
95 if use iodbc ; then
96 myconf="${myconf} --with-ODBC=iODBC"
97 else
98 myconf="${myconf} --with-ODBC=unixODBC"
99 fi
100 fi
101 use unicode && myconf="${myconf} --with-charset=utf-8"
102
103 econf \
104 --disable-doxygen \
105 --disable-html-docs \
106 ${myconf} || die "econf failed"
107 emake || die "emake failed"
108 }
109
110 src_install () {
111 emake DESTDIR="${D}" install || die "make install failed"
112 dohtml -r site/*
113
114 insinto /usr/share/doc/${PF}/examples
115 doins src/examples/cpp/*.cpp
116 }
117
118
119
120 --
121 gentoo-commits@l.g.o mailing list