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-util: ChangeLog apr-util-1.3.9.ebuild apr-util-1.3.4.ebuild apr-util-1.2.12.ebuild apr-util-1.3.0.ebuild apr-util-1.2.10.ebuild apr-util-1.3.2.ebuild
Date: Thu, 06 Aug 2009 12:59:18
Message-Id: E1MZ2Yu-0003fm-5M@stork.gentoo.org
1 arfrever 09/08/06 12:59:16
2
3 Modified: ChangeLog
4 Added: apr-util-1.3.9.ebuild
5 Removed: apr-util-1.3.4.ebuild apr-util-1.2.12.ebuild
6 apr-util-1.3.0.ebuild apr-util-1.2.10.ebuild
7 apr-util-1.3.2.ebuild
8 Log:
9 Version bump.
10 (Portage version: 13932-svn/cvs/Linux x86_64)
11
12 Revision Changes Path
13 1.133 dev-libs/apr-util/ChangeLog
14
15 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/apr-util/ChangeLog?rev=1.133&view=markup
16 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/apr-util/ChangeLog?rev=1.133&content-type=text/plain
17 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/apr-util/ChangeLog?r1=1.132&r2=1.133
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/dev-libs/apr-util/ChangeLog,v
22 retrieving revision 1.132
23 retrieving revision 1.133
24 diff -u -r1.132 -r1.133
25 --- ChangeLog 7 Jul 2009 18:29:26 -0000 1.132
26 +++ ChangeLog 6 Aug 2009 12:59:16 -0000 1.133
27 @@ -1,6 +1,13 @@
28 # ChangeLog for dev-libs/apr-util
29 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/ChangeLog,v 1.132 2009/07/07 18:29:26 arfrever Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/ChangeLog,v 1.133 2009/08/06 12:59:16 arfrever Exp $
32 +
33 +*apr-util-1.3.9 (06 Aug 2009)
34 +
35 + 06 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
36 + -apr-util-1.2.10.ebuild, -apr-util-1.2.12.ebuild, -apr-util-1.3.0.ebuild,
37 + -apr-util-1.3.2.ebuild, -apr-util-1.3.4.ebuild, +apr-util-1.3.9.ebuild:
38 + Version bump.
39
40 *apr-util-1.3.8 (07 Jul 2009)
41
42
43
44
45 1.1 dev-libs/apr-util/apr-util-1.3.9.ebuild
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/apr-util/apr-util-1.3.9.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/apr-util/apr-util-1.3.9.ebuild?rev=1.1&content-type=text/plain
49
50 Index: apr-util-1.3.9.ebuild
51 ===================================================================
52 # Copyright 1999-2009 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/apr-util-1.3.9.ebuild,v 1.1 2009/08/06 12:59:16 arfrever Exp $
55
56 EAPI="2"
57
58 # Usually apr-util has the same PV as apr, but in case of security fixes, this may change.
59 #APR_PV=${PV}
60 APR_PV="1.3.8"
61
62 inherit db-use libtool multilib
63
64 DESCRIPTION="Apache Portable Runtime Utility Library"
65 HOMEPAGE="http://apr.apache.org/"
66 SRC_URI="mirror://apache/apr/${P}.tar.gz"
67
68 LICENSE="Apache-2.0"
69 SLOT="1"
70 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
71 IUSE="berkdb doc freetds gdbm ldap mysql odbc postgres sqlite sqlite3"
72 RESTRICT="test"
73
74 RDEPEND="dev-libs/expat
75 >=dev-libs/apr-${APR_PV}:1
76 berkdb? ( =sys-libs/db-4* )
77 freetds? ( dev-db/freetds )
78 gdbm? ( sys-libs/gdbm )
79 ldap? ( =net-nds/openldap-2* )
80 mysql? ( =virtual/mysql-5* )
81 odbc? ( dev-db/unixODBC )
82 postgres? ( virtual/postgresql-base )
83 sqlite? ( dev-db/sqlite:0 )
84 sqlite3? ( dev-db/sqlite:3 )"
85 DEPEND="${RDEPEND}
86 doc? ( app-doc/doxygen )"
87
88 src_prepare() {
89 elibtoolize
90 }
91
92 src_configure() {
93 local myconf
94
95 use ldap && myconf+=" --with-ldap"
96
97 if use berkdb; then
98 local db_version
99 db_version="$(db_findver sys-libs/db)" || die "Unable to find db version"
100 db_version="$(db_ver_to_slot "${db_version}")"
101 db_version="${db_version/\./}"
102 myconf+=" --with-dbm=db${db_version} --with-berkeley-db=$(db_includedir):/usr/$(get_libdir)"
103 else
104 myconf+=" --without-berkeley-db"
105 fi
106
107 econf --datadir=/usr/share/apr-util-1 \
108 --with-apr=/usr \
109 --with-expat=/usr \
110 $(use_with freetds) \
111 $(use_with gdbm) \
112 $(use_with mysql) \
113 $(use_with odbc) \
114 $(use_with postgres pgsql) \
115 $(use_with sqlite sqlite2) \
116 $(use_with sqlite3) \
117 ${myconf}
118 }
119
120 src_compile() {
121 emake || die "emake failed"
122
123 if use doc; then
124 emake dox || die "emake dox failed"
125 fi
126 }
127
128 src_install() {
129 emake DESTDIR="${D}" install || die "emake install failed"
130
131 dodoc CHANGES NOTICE README
132
133 if use doc; then
134 dohtml docs/dox/html/* || die "dohtml failed"
135 fi
136
137 # This file is only used on AIX systems, which Gentoo is not,
138 # and causes collisions between the SLOTs, so remove it.
139 rm -f "${D}usr/$(get_libdir)/aprutil.exp"
140 }