Gentoo Archives: gentoo-commits

From: "Benedikt Boehm (hollow)" <hollow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/apr-util: ChangeLog apr-util-1.3.4.ebuild
Date: Fri, 29 Aug 2008 11:53:46
Message-Id: E1KZ2Xw-0002jr-1J@stork.gentoo.org
1 hollow 08/08/29 11:53:44
2
3 Modified: ChangeLog
4 Added: apr-util-1.3.4.ebuild
5 Log:
6 version bump wrt #235938
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.116 dev-libs/apr-util/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/apr-util/ChangeLog?rev=1.116&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/apr-util/ChangeLog?rev=1.116&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/apr-util/ChangeLog?r1=1.115&r2=1.116
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/apr-util/ChangeLog,v
19 retrieving revision 1.115
20 retrieving revision 1.116
21 diff -u -r1.115 -r1.116
22 --- ChangeLog 16 Aug 2008 16:49:21 -0000 1.115
23 +++ ChangeLog 29 Aug 2008 11:53:43 -0000 1.116
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-libs/apr-util
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/ChangeLog,v 1.115 2008/08/16 16:49:21 jer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/ChangeLog,v 1.116 2008/08/29 11:53:43 hollow Exp $
29 +
30 +*apr-util-1.3.4 (29 Aug 2008)
31 +
32 + 29 Aug 2008; Benedikt Böhm <hollow@g.o> +apr-util-1.3.4.ebuild:
33 + version bump wrt #235938
34
35 16 Aug 2008; Jeroen Roovers <jer@g.o> apr-util-1.3.2.ebuild:
36 Stable for HPPA (bug #232671).
37
38
39
40 1.1 dev-libs/apr-util/apr-util-1.3.4.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/apr-util/apr-util-1.3.4.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/apr-util/apr-util-1.3.4.ebuild?rev=1.1&content-type=text/plain
44
45 Index: apr-util-1.3.4.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/apr-util-1.3.4.ebuild,v 1.1 2008/08/29 11:53:43 hollow Exp $
50
51 # usually apr-util has the same PV as apr, but in case of security fixes, this
52 # may change.
53 #APR_PV=${PV}
54 APR_PV="1.3.3"
55
56 inherit eutils flag-o-matic libtool db-use
57
58 DESCRIPTION="Apache Portable Runtime Utility Library"
59 HOMEPAGE="http://apr.apache.org/"
60 SRC_URI="mirror://apache/apr/${P}.tar.gz"
61
62 LICENSE="Apache-2.0"
63 SLOT="1"
64 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
65 IUSE="berkdb doc freetds gdbm ldap mysql odbc postgres sqlite sqlite3"
66 RESTRICT="test"
67
68 RDEPEND="dev-libs/expat
69 >=dev-libs/apr-${APR_PV}
70 berkdb? ( =sys-libs/db-4* )
71 freetds? ( dev-db/freetds )
72 gdbm? ( sys-libs/gdbm )
73 ldap? ( =net-nds/openldap-2* )
74 mysql? ( =virtual/mysql-5* )
75 odbc? ( dev-db/unixODBC )
76 postgres? ( virtual/postgresql-base )
77 sqlite? ( =dev-db/sqlite-2* )
78 sqlite3? ( =dev-db/sqlite-3* )"
79 DEPEND="${RDEPEND}
80 doc? ( app-doc/doxygen )"
81
82 src_compile() {
83 local myconf=""
84
85 use ldap && myconf="${myconf} --with-ldap"
86
87 if use berkdb; then
88 dbver="$(db_findver sys-libs/db)" || die "Unable to find db version"
89 dbver="$(db_ver_to_slot "$dbver")"
90 dbver="${dbver/\./}"
91 myconf="${myconf} --with-dbm=db${dbver}
92 --with-berkeley-db=$(db_includedir):/usr/$(get_libdir)"
93 else
94 myconf="${myconf} --without-berkeley-db"
95 fi
96
97 econf --datadir=/usr/share/apr-util-1 \
98 --with-apr=/usr \
99 --with-expat=/usr \
100 $(use_with freetds) \
101 $(use_with gdbm) \
102 $(use_with mysql) \
103 $(use_with odbc) \
104 $(use_with postgres pgsql) \
105 $(use_with sqlite sqlite2) \
106 $(use_with sqlite3) \
107 ${myconf}
108
109 emake || die "emake failed!"
110
111 if use doc; then
112 emake dox || die "emake dox failed"
113 fi
114 }
115
116 src_install() {
117 emake DESTDIR="${D}" install || die "emake install failed"
118
119 dodoc CHANGES NOTICE
120
121 if use doc; then
122 dohtml docs/dox/html/* || die "dohtml failed"
123 fi
124
125 # This file is only used on AIX systems, which gentoo is not,
126 # and causes collisions between the SLOTs, so kill it
127 rm "${D}"/usr/$(get_libdir)/aprutil.exp
128 }