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.2.12.ebuild apr-util-1.2.8-r1.ebuild apr-util-1.2.8.ebuild
Date: Sat, 15 Dec 2007 14:26:42
Message-Id: E1J3XyK-0004Zc-0p@stork.gentoo.org
1 hollow 07/12/15 14:26:32
2
3 Modified: ChangeLog
4 Added: apr-util-1.2.12.ebuild
5 Removed: apr-util-1.2.8-r1.ebuild apr-util-1.2.8.ebuild
6 Log:
7 version bump; #200947
8 (Portage version: 2.1.4_rc8)
9
10 Revision Changes Path
11 1.105 dev-libs/apr-util/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/apr-util/ChangeLog?rev=1.105&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/apr-util/ChangeLog?rev=1.105&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/apr-util/ChangeLog?r1=1.104&r2=1.105
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/apr-util/ChangeLog,v
20 retrieving revision 1.104
21 retrieving revision 1.105
22 diff -u -r1.104 -r1.105
23 --- ChangeLog 16 Nov 2007 20:40:31 -0000 1.104
24 +++ ChangeLog 15 Dec 2007 14:26:31 -0000 1.105
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-libs/apr-util
27 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/ChangeLog,v 1.104 2007/11/16 20:40:31 nixnut Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/ChangeLog,v 1.105 2007/12/15 14:26:31 hollow Exp $
30 +
31 +*apr-util-1.2.12 (15 Dec 2007)
32 +
33 + 15 Dec 2007; Benedikt Böhm <hollow@g.o> -apr-util-1.2.8.ebuild,
34 + -apr-util-1.2.8-r1.ebuild, +apr-util-1.2.12.ebuild:
35 + version bump; #200947
36
37 16 Nov 2007; nixnut <nixnut@g.o> apr-util-1.2.10.ebuild:
38 Stable on ppc wrt bug 198866
39
40
41
42 1.1 dev-libs/apr-util/apr-util-1.2.12.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/apr-util/apr-util-1.2.12.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/apr-util/apr-util-1.2.12.ebuild?rev=1.1&content-type=text/plain
46
47 Index: apr-util-1.2.12.ebuild
48 ===================================================================
49 # Copyright 1999-2007 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/apr-util-1.2.12.ebuild,v 1.1 2007/12/15 14:26:31 hollow Exp $
52
53 inherit autotools eutils flag-o-matic libtool db-use
54
55 DESCRIPTION="Apache Portable Runtime Utility Library"
56 HOMEPAGE="http://apr.apache.org/"
57 SRC_URI="mirror://apache/apr/${P}.tar.gz
58 mirror://apache/apr/apr-${PV}.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="berkdb doc gdbm ldap mysql postgres sqlite sqlite3"
64 RESTRICT="test"
65
66 DEPEND="dev-libs/expat
67 >=dev-libs/apr-${PV}
68 berkdb? ( =sys-libs/db-4* )
69 doc? ( app-doc/doxygen )
70 gdbm? ( sys-libs/gdbm )
71 ldap? ( =net-nds/openldap-2* )
72 mysql? ( =virtual/mysql-5* )
73 postgres? ( dev-db/libpq )
74 sqlite? ( =dev-db/sqlite-2* )
75 sqlite3? ( =dev-db/sqlite-3* )"
76
77 src_unpack() {
78 unpack ${A}
79 cd "${S}"
80
81 ./buildconf --with-apr=../apr-${PV} || die "buildconf failed"
82 elibtoolize || die "elibtoolize failed"
83 }
84
85 src_compile() {
86 local myconf=""
87
88 use ldap && myconf="${myconf} --with-ldap"
89
90 if use berkdb; then
91 dbver="$(db_findver sys-libs/db)" || die "Unable to find db version"
92 dbver="$(db_ver_to_slot "$dbver")"
93 dbver="${dbver/\./}"
94 myconf="${myconf} --with-dbm=db${dbver}
95 --with-berkeley-db=$(db_includedir):/usr/$(get_libdir)"
96 else
97 myconf="${myconf} --without-berkeley-db"
98 fi
99
100 econf --datadir=/usr/share/apr-util-1 \
101 --with-apr=/usr \
102 --with-expat=/usr \
103 $(use_with gdbm) \
104 $(use_with mysql) \
105 $(use_with postgres pgsql) \
106 $(use_with sqlite sqlite2) \
107 $(use_with sqlite3) \
108 ${myconf}
109
110 emake || die "emake failed!"
111
112 if use doc; then
113 emake dox || die "emake dox failed"
114 fi
115 }
116
117 src_install() {
118 emake DESTDIR="${D}" install || die "emake install failed"
119
120 dodoc CHANGES NOTICE
121
122 if use doc; then
123 dohtml docs/dox/html/* || die "dohtml failed"
124 fi
125
126 # This file is only used on AIX systems, which gentoo is not,
127 # and causes collisions between the SLOTs, so kill it
128 rm "${D}"/usr/$(get_libdir)/aprutil.exp
129 }
130
131
132
133 --
134 gentoo-commits@g.o mailing list