1 |
polynomial-c 12/11/28 07:45:27 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: apr-util-1.5.1.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC) |
9 |
|
10 |
Revision Changes Path |
11 |
1.177 dev-libs/apr-util/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr-util/ChangeLog?rev=1.177&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr-util/ChangeLog?rev=1.177&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr-util/ChangeLog?r1=1.176&r2=1.177 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/apr-util/ChangeLog,v |
20 |
retrieving revision 1.176 |
21 |
retrieving revision 1.177 |
22 |
diff -u -r1.176 -r1.177 |
23 |
--- ChangeLog 28 Nov 2012 02:49:32 -0000 1.176 |
24 |
+++ ChangeLog 28 Nov 2012 07:45:27 -0000 1.177 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-libs/apr-util |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/ChangeLog,v 1.176 2012/11/28 02:49:32 ottxor Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/ChangeLog,v 1.177 2012/11/28 07:45:27 polynomial-c Exp $ |
30 |
+ |
31 |
+*apr-util-1.5.1 (28 Nov 2012) |
32 |
+ |
33 |
+ 28 Nov 2012; Lars Wendler <polynomial-c@g.o> +apr-util-1.5.1.ebuild: |
34 |
+ Non-maintainer commit: Version bump. |
35 |
|
36 |
28 Nov 2012; Christoph Junghans <ottxor@g.o> apr-util-1.4.1.ebuild: |
37 |
added prefix support |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-libs/apr-util/apr-util-1.5.1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr-util/apr-util-1.5.1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr-util/apr-util-1.5.1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: apr-util-1.5.1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2012 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/apr-util-1.5.1.ebuild,v 1.1 2012/11/28 07:45:27 polynomial-c Exp $ |
51 |
|
52 |
EAPI="4" |
53 |
|
54 |
# Usually apr-util has the same PV as apr, but in case of security fixes, this may change. |
55 |
# APR_PV="${PV}" |
56 |
APR_PV="1.4.5" |
57 |
|
58 |
inherit autotools db-use eutils libtool multilib |
59 |
|
60 |
DESCRIPTION="Apache Portable Runtime Utility Library" |
61 |
HOMEPAGE="http://apr.apache.org/" |
62 |
SRC_URI="mirror://apache/apr/${P}.tar.bz2" |
63 |
|
64 |
LICENSE="Apache-2.0" |
65 |
SLOT="1" |
66 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
67 |
IUSE="berkdb doc freetds gdbm ldap mysql nss odbc openssl postgres sqlite static-libs" |
68 |
RESTRICT="test" |
69 |
|
70 |
RDEPEND="dev-libs/expat |
71 |
>=dev-libs/apr-${APR_PV}:1 |
72 |
berkdb? ( >=sys-libs/db-4 ) |
73 |
freetds? ( dev-db/freetds ) |
74 |
gdbm? ( sys-libs/gdbm ) |
75 |
ldap? ( =net-nds/openldap-2* ) |
76 |
mysql? ( =virtual/mysql-5* ) |
77 |
nss? ( dev-libs/nss ) |
78 |
odbc? ( dev-db/unixODBC ) |
79 |
openssl? ( dev-libs/openssl ) |
80 |
postgres? ( dev-db/postgresql-base ) |
81 |
sqlite? ( dev-db/sqlite:3 )" |
82 |
DEPEND="${RDEPEND} |
83 |
doc? ( app-doc/doxygen )" |
84 |
|
85 |
DOCS=(CHANGES NOTICE README) |
86 |
|
87 |
src_prepare() { |
88 |
eautoreconf |
89 |
|
90 |
elibtoolize |
91 |
} |
92 |
|
93 |
src_configure() { |
94 |
local myconf |
95 |
|
96 |
[[ ${CHOST} == *-mint* ]] && myconf="${myconf} --disable-util-dso" |
97 |
|
98 |
if use berkdb; then |
99 |
local db_version |
100 |
db_version="$(db_findver sys-libs/db)" || die "Unable to find Berkeley DB version" |
101 |
db_version="$(db_ver_to_slot "${db_version}")" |
102 |
db_version="${db_version/\./}" |
103 |
myconf+=" --with-dbm=db${db_version} --with-berkeley-db=$(db_includedir 2> /dev/null):${EPREFIX}/usr/$(get_libdir)" |
104 |
else |
105 |
myconf+=" --without-berkeley-db" |
106 |
fi |
107 |
|
108 |
econf \ |
109 |
--datadir="${EPREFIX}"/usr/share/apr-util-1 \ |
110 |
--with-apr="${EPREFIX}"/usr \ |
111 |
--with-expat="${EPREFIX}"/usr \ |
112 |
--without-sqlite2 \ |
113 |
$(use_with freetds) \ |
114 |
$(use_with gdbm) \ |
115 |
$(use_with ldap) \ |
116 |
$(use_with mysql) \ |
117 |
$(use_with nss) \ |
118 |
$(use_with odbc) \ |
119 |
$(use_with openssl) \ |
120 |
$(use_with postgres pgsql) \ |
121 |
$(use_with sqlite sqlite3) \ |
122 |
${myconf} |
123 |
} |
124 |
|
125 |
src_compile() { |
126 |
emake CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" |
127 |
|
128 |
if use doc; then |
129 |
emake dox |
130 |
fi |
131 |
} |
132 |
|
133 |
src_install() { |
134 |
default |
135 |
|
136 |
find "${ED}" -name "*.la" -exec rm -f {} + |
137 |
find "${ED}usr/$(get_libdir)/apr-util-${SLOT}" -name "*.a" -exec rm -f {} + |
138 |
|
139 |
if use doc; then |
140 |
dohtml -r docs/dox/html/* |
141 |
fi |
142 |
|
143 |
if ! use static-libs; then |
144 |
find "${ED}" -name "*.a" -exec rm -f {} + |
145 |
fi |
146 |
|
147 |
# This file is only used on AIX systems, which Gentoo is not, |
148 |
# and causes collisions between the SLOTs, so remove it. |
149 |
rm -f "${ED}usr/$(get_libdir)/aprutil.exp" |
150 |
} |