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