Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/apr: ChangeLog apr-1.3.7.ebuild
Date: Fri, 24 Jul 2009 22:10:21
Message-Id: E1MUSy2-0001JE-W7@stork.gentoo.org
1 arfrever 09/07/24 22:10:18
2
3 Modified: ChangeLog
4 Added: apr-1.3.7.ebuild
5 Log:
6 Version bump.
7 (Portage version: 13850-svn/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.131 dev-libs/apr/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/apr/ChangeLog?rev=1.131&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/apr/ChangeLog?rev=1.131&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/apr/ChangeLog?r1=1.130&r2=1.131
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/apr/ChangeLog,v
19 retrieving revision 1.130
20 retrieving revision 1.131
21 diff -u -r1.130 -r1.131
22 --- ChangeLog 7 Jul 2009 18:27:17 -0000 1.130
23 +++ ChangeLog 24 Jul 2009 22:10:18 -0000 1.131
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-libs/apr
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/ChangeLog,v 1.130 2009/07/07 18:27:17 arfrever Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/ChangeLog,v 1.131 2009/07/24 22:10:18 arfrever Exp $
29 +
30 +*apr-1.3.7 (24 Jul 2009)
31 +
32 + 24 Jul 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
33 + +apr-1.3.7.ebuild:
34 + Version bump.
35
36 *apr-1.3.6 (07 Jul 2009)
37
38
39
40
41 1.1 dev-libs/apr/apr-1.3.7.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/apr/apr-1.3.7.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/apr/apr-1.3.7.ebuild?rev=1.1&content-type=text/plain
45
46 Index: apr-1.3.7.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/apr-1.3.7.ebuild,v 1.1 2009/07/24 22:10:18 arfrever Exp $
51
52 EAPI="2"
53
54 inherit autotools eutils libtool multilib
55
56 DESCRIPTION="Apache Portable Runtime Library"
57 HOMEPAGE="http://apr.apache.org/"
58 SRC_URI="mirror://apache/apr/${P}.tar.gz"
59
60 LICENSE="Apache-2.0"
61 SLOT="1"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
63 IUSE="debug doc +urandom"
64 RESTRICT="test"
65
66 DEPEND="doc? ( app-doc/doxygen )"
67 RDEPEND=""
68
69 src_prepare() {
70 AT_M4DIR="build" eautoreconf
71 elibtoolize
72
73 epatch "${FILESDIR}/config.layout.patch"
74 }
75
76 src_configure() {
77 local myconf
78
79 if use debug; then
80 myconf+=" --enable-maintainer-mode --enable-pool-debug=all"
81 fi
82
83 if use urandom; then
84 myconf+=" --with-devrandom=/dev/urandom"
85 else
86 myconf+=" --with-devrandom=/dev/random"
87 fi
88
89 econf --enable-layout=gentoo \
90 --enable-nonportable-atomics \
91 --enable-threads \
92 ${myconf}
93
94 # Make sure we use the system libtool.
95 sed -i 's,$(apr_builddir)/libtool,/usr/bin/libtool,' build/apr_rules.mk
96 sed -i 's,${installbuilddir}/libtool,/usr/bin/libtool,' apr-1-config
97 rm -f libtool
98 }
99
100 src_compile() {
101 emake || die "emake failed"
102
103 if use doc; then
104 emake dox || die "emake dox failed"
105 fi
106 }
107
108 src_install() {
109 emake DESTDIR="${D}" install || die "emake install failed"
110
111 dodoc CHANGES NOTICE
112
113 if use doc; then
114 dohtml docs/dox/html/* || die "dohtml failed"
115 fi
116
117 # This file is only used on AIX systems, which Gentoo is not,
118 # and causes collisions between the SLOTs, so remove it.
119 rm -f "${D}usr/$(get_libdir)/apr.exp"
120 }