Portage is a package management system used by Gentoo Linux
# ChangeLog for dev-libs/apr-util
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/ChangeLog,v 1.110 2008/06/23 18:06:30 hollow Exp $
*apr-util-1.3.2 (23 Jun 2008)
23 Jun 2008; Benedikt Böhm
version bump wrt #228953
15 Jun 2008; Benedikt Böhm
apr-util-1.3.0.ebuild:
do not run buildconf wrt #226051
*apr-util-1.3.0 (11 Jun 2008)
11 Jun 2008; Benedikt Böhm
version bump wrt #225783
01 Jun 2008; Benedikt Böhm
apr-util-1.2.12.ebuild:
fix #221653
28 Jan 2008; Benedikt Böhm
-files/apr-util-0.9.12-db-4.5.patch, -files/apr-util-0.9.12-linking.patch,
-apr-util-0.9.12.ebuild, -apr-util-0.9.12-r1.ebuild,
-apr-util-0.9.13.ebuild:
remove apr-util-0 wrt #203578
*apr-util-1.2.12 (15 Dec 2007)
15 Dec 2007; Benedikt Böhm
-apr-util-1.2.8-r1.ebuild, +apr-util-1.2.12.ebuild:
version bump; #200947
16 Nov 2007; nixnut
Stable on ppc wrt bug 198866
16 Nov 2007; Raúl Porcel
alpha/ia64 stable wrt #198866
16 Nov 2007; Steve Dibb
amd64 stable, bug 198866
13 Nov 2007; Dawid Węgliński
Stable on x86 (bug #198866)
13 Nov 2007; Markus Rothe
Stable on ppc64; bug #198866
13 Nov 2007; Jeroen Roovers
Stable for HPPA (bug #198866).
12 Nov 2007; Ferris McCormick
Sparc stable --- Bug #198866 --- Good for two months.
09 Sep 2007; Benedikt Böhm
fix #188485
*apr-util-1.2.10 (08 Sep 2007)
08 Sep 2007; Benedikt Böhm
version bump; #191733
08 Aug 2007; Timothy Redaelli
apr-util-0.9.12-r1.ebuild:
Stable on ppc wrt #169507.
31 Jul 2007; Christian Heim
Use >=dev-libs/apr-${PV} instead of ~dev-libs/apr-${PV}. The "~" limits us
to the current PV, and doesn't allow later versions.'
10 Jul 2007; Raúl Porcel
alpha/x86 stable wrt #169507
10 Jul 2007; Jeroen Roovers
Stable for HPPA (bug #169507).
10 Jul 2007; Markus Rothe
Stable on ppc64; bug #169507
08 Jul 2007; Christian Heim
Fix the compilation issue with mysql (#184636 - Rajiv Aaron Manglani
28 Jun 2007; Raúl Porcel
ia64 stable wrt #178750
27 Jun 2007; Lars Weiler
Stable on ppc; bug #178264.
27 Jun 2007; Christoph Mende
apr-util-0.9.12-r1.ebuild:
Stable on amd64
27 Jun 2007; Gustavo Zacarias
apr-util-0.9.12-r1.ebuild:
Stable on sparc wrt #169507
27 Jun 2007; Jeroen Roovers
Stable for HPPA (bug #178264).
*apr-util-1.2.8-r1 (15 Jun 2007)
15 Jun 2007; Benedikt Böhm
fix #127781 (mysql support)
15 Jun 2007; Raúl Porcel
alpha/ia64/x86 stable wrt #178264
14 Jun 2007; Christoph Mende
Stable on amd64 wrt bug 178264
13 Jun 2007; Gustavo Zacarias
Stable on sparc wrt #178264
09 Jun 2007; Markus Rothe
Stable on ppc64; bug #178264
23 Mar 2007; Christian Heim
Updating the postgres? DEPEND, only dev-db/libpq is need, not a full-blown
postgres install. Thanks to Tiziano Mueller for noticing.
08 Mar 2007; Christian Heim
Finally fixing apr-util-0.9.12, forcing autoconf-1.7 (thanks to Marcus
Hanwell in #169927).
08 Mar 2007; Christian Heim
Using fixed versions for autoconf/automake (WANT_AUTO(CONF|MAKE)), as
autoconf-2.61 gets --libdir wrong (as in ignores it - which shoots multilib
in the foot). Thanks to Alexis Ballier (#169927) for pointing it out.
07 Mar 2007; Christian Heim
Adding a sed to change the config.layout, as it screws up our PREFIX.
07 Mar 2007; Christian Heim
Minor syn, whitespace cleanup.
*apr-util-0.9.12-r1 (07 Mar 2007)
07 Mar 2007; Christian Heim
+files/apr-util-0.9.12-db-4.5.patch, +apr-util-0.9.12-r1.ebuild:
Fixing compilation of apr-util-0.9.12 against >=sys-libs/db-4.4 (#169507,
thanks to Michael Edenfield
UPSTREAM patch).
11 Feb 2007; Fabian Groffen
apr-util-0.9.13.ebuild, apr-util-1.2.8.ebuild:
Dropped ppc-macos keyword, see you in prefix
29 Jan 2007; Christian Heim
Reverting the KEYWORDS to ~arch, accidently commited straight to arch.
*apr-util-0.9.13 (28 Jan 2007)
28 Jan 2007; Christian Heim
Version bump, new upstream version. Cleaning up the ebuild a bit.
28 Jan 2007; Luca Longinotti
-files/apr-util-0.9.x-161086-161087.patch, metadata.xml,
-apr-util-0.9.6-r2.ebuild, -apr-util-0.9.7.ebuild, -apr-util-1.2.2.ebuild,
-apr-util-1.2.7.ebuild:
Remove redundant versions.
*apr-util-1.2.8 (21 Jan 2007)
21 Jan 2007; Christian Heim
Version bump (thanks to Conrad Kostecki
18 Oct 2006; Roy Marples
Added ~sparc-fbsd keyword.
18 Oct 2006; Roy Marples
Added ~sparc-fbsd keyword.
15 Oct 2006; Michael Stewart
apr-util-1.2.7.ebuild:
Remove aprutil.exp as it's not used and causes collisions between SLOTs
10 Sep 2006; Javier Villavicencio
apr-util-1.2.7.ebuild:
Add ~x86-fbsd keyword.
05 Sep 2006; Joshua Kinard
Marked stable on mips.
29 Jul 2006; Bryan Østergaard
Stable on alpha.
28 Jun 2006; Tobias Scherbaum
apr-util-0.9.12.ebuild:
ppc stable, #138011
28 Jun 2006; Joshua Jackson
stable x86; bug #138011
27 Jun 2006; Marcus D. Hanwell
Marked stable on amd64, bug 138011.
27 Jun 2006; Guy Martin
Stable on hppa.
26 Jun 2006; Markus Rothe
Stable on ppc64; bug #138011
26 Jun 2006; Gustavo Zacarias
apr-util-0.9.12.ebuild:
Stable on sparc wrt #138011
06 Jun 2006; Michael Stewart
Remove as-needed filtering
05 Jun 2006; Michael Stewart
+files/apr-util-0.9.12-linking.patch, apr-util-0.9.12.ebuild:
Add patch to allow correct linking with --as-needed
04 Jun 2006; Luca Longinotti
apr-util-0.9.12.ebuild, apr-util-1.2.2.ebuild, apr-util-1.2.7.ebuild:
Fix bug #133871 for all apr-util versions save the all-stable one.
Thanks to Flameeyes for the patch.
27 Apr 2006; Marien Zwart
Fixing SHA256 digest, pass four
22 Apr 2006; Luca Longinotti
Fix repoman trailing whitespace error.
*apr-util-0.9.12 (16 Apr 2006)
16 Apr 2006; Michael Stewart
+apr-util-0.9.12.ebuild:
Version bump
*apr-util-1.2.7 (16 Apr 2006)
16 Apr 2006; Michael Stewart
Version bump in preperation for the next version of apache 2.2.x
30 Mar 2006; Diego Pettenò
apr-util-1.2.2.ebuild:
Add ~x86-fbsd keyword to the unmasked ebuild.
30 Mar 2006; Diego Pettenò
Add ~x86-fbsd keyword.
*apr-util-1.2.2 (15 Feb 2006)
15 Feb 2006; Michael Stewart
New version for apache 2.2
15 Jan 2006; Marcus D. Hanwell
Stable on amd64, bug 117835.
13 Jan 2006; Tobias Scherbaum
apr-util-0.9.7.ebuild:
ppc stable, bug #117835
12 Jan 2006; Markus Rothe
Stable on ppc64; bug #117835
10 Jan 2006; Gustavo Zacarias
Stable on sparc wrt #117835
09 Jan 2006; Bryan Østergaard
06 Jan 2006; Michael Stewart
Remove testing that shouldn't have made it to CVS. Fixes bug 117949.
05 Jan 2006; Michael Stewart
Correctly honor our USE-flags. Fixes bug 116980
*apr-util-0.9.7 (22 Oct 2005)
22 Oct 2005; Michael Stewart
Version Bump
21 Oct 2005; Aaron Walker
Stable on mips.
10 Oct 2005; Danny van Dyk
apr-util-0.9.6-r2.ebuild:
Marked ~ppc-macos.
10 Oct 2005; MATSUU Takuto
apr-util-1.1.2.ebuild:
Stable on sh.
19 Sep 2005; Michael Hanselmann
apr-util-0.9.6-r2.ebuild:
Stable on hppa and ppc.
18 Sep 2005; Marcus D. Hanwell
apr-util-0.9.6-r2.ebuild:
Stable on amd64, bug 105516.
18 Sep 2005; Jason Wever
Marked stable on SPARC wrt bug #105516.
18 Sep 2005; Michael Stewart
-apr-util-0.9.5-r1.ebuild, -apr-util-0.9.6.ebuild,
-apr-util-0.9.6-r1.ebuild:
Removing old revisions that use broken LFS-support
17 Sep 2005; Aron Griffis
Mark 0.9.6-r2 stable on ia64
11 Sep 2005; Markus Rothe
Stable on ppc64
10 Sep 2005; Aron Griffis
Mark 0.9.6-r2 stable on alpha
10 Sep 2005; Michael Stewart
apr-util-0.9.6-r2.ebuild:
Stable on x86
10 Sep 2005; Aron Griffis
Mark 0.9.5-r1 stable on alpha
17 Jul 2005; Kito
~ppc-macos Keyword. Bug 94202
13 Jul 2005; bret curtis
apr-util-0.9.6-r2.ebuild, apr-util-1.1.2.ebuild:
added to ~mips
11 Jun 2005; Bryan Østergaard
apr-util-0.9.6-r2.ebuild, apr-util-1.1.2.ebuild:
Fix g/bsd compatibility, bug 95468.
*apr-util-0.9.6-r2 (10 May 2005)
*apr-util-0.9.5-r1 (10 May 2005)
10 May 2005; Elfyn McBratney
+apr-util-0.9.6-r2.ebuild:
Rev bumps to pick up on the LFS-removal from apr.
10 May 2005; Bret Curtis
marked for testing, ~mips
*apr-util-0.9.6-r1 (13 Apr 2005)
13 Apr 2005; Christian Parpart
+files/apr-util-0.9.x-161086:161087.patch, +apr-util-0.9.6-r1.ebuild:
adding backport-patch so that depending pkgs on it will compile well
*apr-util-1.1.2 (10 Apr 2005)
10 Apr 2005; Christian Parpart
adding apr-util-1 (1.1.1) ebuilds to the series of apr versions which is the
base requirement (besides of apr-1) for forthcoming apache httpd 2.1.x
series ;)
31 Mar 2005; Aron Griffis
stable on ia64
05 Mar 2005; Markus Rothe
Stable on ppc64
05 Mar 2005; Elfyn McBratney
apr-util-0.9.6.ebuild:
Depend on the 'best version' of apr here, too.
*apr-util-0.9.6 (02 Mar 2005)
02 Mar 2005; Elfyn McBratney
Version bump.
28 Feb 2005; Jeremy Huddleston
apr-util-0.9.5.ebuild:
Killed einstall usage. Back to using econf to fix multilib problems.
20 Feb 2005; Aron Griffis
add ~ia64 #77455
09 Feb 2005; Benedikt Boehm
fixed expat
05 Feb 2005; Bryan Østergaard
~alpha keyword, bug 77455.
28 Jan 2005; Michael Hanselmann
Added to ~ppc.
28 Jan 2005; Paul de Vrieze
Fixing ownership issue when compiling with userpriv (headers will be owned
by portage, not root. A chown fixes this).
11 Jan 2005; Mike Doty
~amd64 added
11 Jan 2005; Guy Martin
Added ~hppa to KEYWORDS.
11 Jan 2005; Markus Rothe
Added ~ppc64 to KEYWORDS
10 Jan 2005; Jason Wever
Added ~sparc keyword wrt bug #77455.
*apr-util-0.9.5 (08 Jan 2005)
08 Jan 2005; Michael Stewart
+apr-util-0.9.5.ebuild:
New package, required by apache
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
DIST apr-1.2.11.tar.gz 1114033 RMD160 8b1c1831cd8281de17f41f84ffc5cfd9b6c35553 SHA1 bde2c8b6e477752bcac4f387ac0de9671cd15d1a SHA256 fc7a14e8ded002c252cf5f3ccce6cd5636f01a85986188e373f9343a174c42ff
DIST apr-1.2.12.tar.gz 1127522 RMD160 912c34e412b42e678288727b811ba35f03d07b6b SHA1 12ebc5ee6bba6b66b75e25ff8326fd2d2ad8f4ff SHA256 23759142c483be869a0aec0529c5b8c94745b4dfd1c2c23f38417f4e02adcead
DIST apr-1.3.0.tar.gz 1145703 RMD160 1b392ce9335f6608102edbba162cc2e9924da6cf SHA1 5cccd027d43e94acf813ca627a3b0984520fe50a SHA256 1bf89994de9758061fdd304d5fe37971d5f2f9e95f587ba847ceb33e67f1d1f0
DIST apr-util-1.2.10.tar.gz 654083 RMD160 6d577b04a4d75efcb40e132fddf15faede7b29c1 SHA1 9e136a5492313a0eb3c50154a25da2c99dcabb1b SHA256 8761fec487ff98e7b9d965864125d0468a3d4adf2c91a44834faff3c693e6f47
DIST apr-util-1.2.12.tar.gz 668292 RMD160 438528fe4d207dc2290de80ccbd2973266853f8a SHA1 7c0d929a3c0b328c257c916408bc2c9d47690fed SHA256 7d70ff17bec733bdb04a6653a8e9c15ab7d88429dac91a4ae58c1db5caaee07f
DIST apr-util-1.3.0.tar.gz 746522 RMD160 f8ca262db8bc1d4d7b2a5ad992850d662f6a8241 SHA1 56114a5750cc76e1536bf3e000f9b710de2c70d0 SHA256 ccbbce2c06410a44b93259d7071dc25697c71410666c076feb7d6669960bcd8d
DIST apr-util-1.3.2.tar.gz 778182 RMD160 868a503cfb038c9dd5f82b0cdd1eee4691ef1096 SHA1 29d3974d928d29fe996f3cf1e6b4794b82272683 SHA256 0c95069e5b4962d56ec4112f2aa85701b93a7374b76adcca348ca19c0db560f1
DIST apr_dbd_mysql-r84.c 49110 RMD160 9d665f2e964b09f58b182829563a203f59e16640 SHA1 04c82a4dda00bbeaddc713b29dae826562fc0db6 SHA256 79893740a58c96fba6e04f800e950ec42d8128e034056ff8a5770e0d3acc4919
EBUILD apr-util-1.2.10.ebuild 2373 RMD160 cfd05aa3a37e36bbe2f3d4053b2c4a56cbfdfbe9 SHA1 49f5fb6cff82d2fa00fe46699123e03e9e5ee37c SHA256 9181619073e95f52a2979dd9fe8d7903de54ca12786209d78453d7287c5133a3
EBUILD apr-util-1.2.12.ebuild 1993 RMD160 da1acc8d734647f2a1355b7781bd0c77cdf5ae8e SHA1 b9befea6cdd9a8b9406f1acac0788fc2a22764dc SHA256 3ddf98c93574ca7d7c71d8fd6acecd04760b38471e9e7b1d220ac7a8d0f9fa3e
EBUILD apr-util-1.3.0.ebuild 1992 RMD160 cc16563f3826f9082c84a7748c11bae959601f82 SHA1 8a79c7e7f2500a3bc63ac954e799a22ad60d92ab SHA256 b14adc4c47ded8dd6d97f45a18dc777304aa70b1f4fee004eb1db50e1ba07013
EBUILD apr-util-1.3.2.ebuild 2068 RMD160 01a1dc4c016abc611b65e1b8a40d1258a89e95c2 SHA1 db371b8ece4d7f9aa7f483f7070032f477ed71a7 SHA256 6b7dc150f9986c92233066f0ce54f8ec498af6703f03e578ac0c9c91f07c5e5d
MISC ChangeLog 14271 RMD160 f19549fb6facb2d0a9a9c8c1f9b5c4ac333b8320 SHA1 18cd72c644e765bdfcdba5d70b6482b207b304db SHA256 1f8463796f5f5a62a6c2bb25e709c688a0a69a245ac9b0f0c08de372ebcf3962
MISC metadata.xml 229 RMD160 bb816bd761846ad578f8c1521a1f1ec6297410f4 SHA1 92fdbcb6a85ece96506733ad67a5e4e74a58a529 SHA256 8e1aafc5385805d45759406a60df79f0ce88aa1df1a58d44b596405d64c9226d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkhf5iwACgkQmPFBzbX68WFOxgCfaF3O00XpBtqwh5Zdajt7JzOY
ZfoAnApLaXjtBV2v0QHnzs9TPHzq22ku
=izZa
-----END PGP SIGNATURE-----
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/apr-util-1.2.10.ebuild,v 1.12 2008/06/01 11:42:35 hollow Exp $
inherit autotools eutils flag-o-matic libtool db-use
DBD_MYSQL=84
APR_PV=1.2.11
DESCRIPTION="Apache Portable Runtime Library"
HOMEPAGE="http://apr.apache.org/"
SRC_URI="mirror://apache/apr/${P}.tar.gz
mirror://apache/apr/apr-${APR_PV}.tar.gz
mysql? ( mirror://gentoo/apr_dbd_mysql-r${DBD_MYSQL}.c )"
LICENSE="Apache-2.0"
SLOT="1"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
IUSE="berkdb doc gdbm ldap mysql postgres sqlite sqlite3"
RESTRICT="test"
RDEPEND="dev-libs/expat
>=dev-libs/apr-${PV}
berkdb? ( =sys-libs/db-4* )
gdbm? ( sys-libs/gdbm )
ldap? ( =net-nds/openldap-2* )
mysql? ( =virtual/mysql-5* )
postgres? ( virtual/postgresql-base )
sqlite? ( =dev-db/sqlite-2* )
sqlite3? ( =dev-db/sqlite-3* )"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )"
src_unpack() {
unpack ${A}
cd "${S}"
if use mysql ; then
cp "${DISTDIR}"/apr_dbd_mysql-r${DBD_MYSQL}.c \
"${S}"/dbd/apr_dbd_mysql.c || die "could not copy mysql driver"
fi
./buildconf --with-apr=../apr-${APR_PV} || die "buildconf failed"
elibtoolize || die "elibtoolize failed"
}
src_compile() {
local myconf=""
use ldap && myconf="${myconf} --with-ldap"
if use berkdb; then
dbver="$(db_findver sys-libs/db)" || die "Unable to find db version"
dbver="$(db_ver_to_slot "$dbver")"
dbver="${dbver/\./}"
myconf="${myconf} --with-dbm=db${dbver}
--with-berkeley-db=$(db_includedir):/usr/$(get_libdir)"
else
myconf="${myconf} --without-berkeley-db"
fi
econf --datadir=/usr/share/apr-util-1 \
--with-apr=/usr \
--with-expat=/usr \
$(use_with gdbm) \
$(use_with mysql) \
$(use_with postgres pgsql) \
$(use_with sqlite sqlite2) \
$(use_with sqlite3) \
${myconf} || die "econf failed!"
emake || die "emake failed!"
if use doc; then
emake dox || die "make dox failed"
fi
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc CHANGES NOTICE
if use doc; then
dohtml docs/dox/html/* || die
fi
# This file is only used on AIX systems, which gentoo is not,
# and causes collisions between the SLOTs, so kill it
rm "${D}"/usr/$(get_libdir)/aprutil.exp
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/apr-util-1.2.12.ebuild,v 1.4 2008/06/15 16:21:55 hollow Exp $
inherit eutils flag-o-matic libtool db-use
DESCRIPTION="Apache Portable Runtime Utility Library"
HOMEPAGE="http://apr.apache.org/"
SRC_URI="mirror://apache/apr/${P}.tar.gz
mirror://apache/apr/apr-${PV}.tar.gz"
LICENSE="Apache-2.0"
SLOT="1"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
IUSE="berkdb doc gdbm ldap mysql postgres sqlite sqlite3"
RESTRICT="test"
RDEPEND="dev-libs/expat
>=dev-libs/apr-${PV}
berkdb? ( =sys-libs/db-4* )
gdbm? ( sys-libs/gdbm )
ldap? ( =net-nds/openldap-2* )
mysql? ( =virtual/mysql-5* )
postgres? ( virtual/postgresql-base )
sqlite? ( =dev-db/sqlite-2* )
sqlite3? ( =dev-db/sqlite-3* )"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )"
src_compile() {
local myconf=""
use ldap && myconf="${myconf} --with-ldap"
if use berkdb; then
dbver="$(db_findver sys-libs/db)" || die "Unable to find db version"
dbver="$(db_ver_to_slot "$dbver")"
dbver="${dbver/\./}"
myconf="${myconf} --with-dbm=db${dbver}
--with-berkeley-db=$(db_includedir):/usr/$(get_libdir)"
else
myconf="${myconf} --without-berkeley-db"
fi
econf --datadir=/usr/share/apr-util-1 \
--with-apr=/usr \
--with-expat=/usr \
$(use_with gdbm) \
$(use_with mysql) \
$(use_with postgres pgsql) \
$(use_with sqlite sqlite2) \
$(use_with sqlite3) \
${myconf}
emake || die "emake failed!"
if use doc; then
emake dox || die "emake dox failed"
fi
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc CHANGES NOTICE
if use doc; then
dohtml docs/dox/html/* || die "dohtml failed"
fi
# This file is only used on AIX systems, which gentoo is not,
# and causes collisions between the SLOTs, so kill it
rm "${D}"/usr/$(get_libdir)/aprutil.exp
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/apr-util-1.3.0.ebuild,v 1.2 2008/06/15 16:21:55 hollow Exp $
inherit eutils flag-o-matic libtool db-use
DESCRIPTION="Apache Portable Runtime Utility Library"
HOMEPAGE="http://apr.apache.org/"
SRC_URI="mirror://apache/apr/${P}.tar.gz
mirror://apache/apr/apr-${PV}.tar.gz"
LICENSE="Apache-2.0"
SLOT="1"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
IUSE="berkdb doc gdbm ldap mysql postgres sqlite sqlite3"
RESTRICT="test"
RDEPEND="dev-libs/expat
>=dev-libs/apr-${PV}
berkdb? ( =sys-libs/db-4* )
gdbm? ( sys-libs/gdbm )
ldap? ( =net-nds/openldap-2* )
mysql? ( =virtual/mysql-5* )
postgres? ( virtual/postgresql-base )
sqlite? ( =dev-db/sqlite-2* )
sqlite3? ( =dev-db/sqlite-3* )"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )"
src_compile() {
local myconf=""
use ldap && myconf="${myconf} --with-ldap"
if use berkdb; then
dbver="$(db_findver sys-libs/db)" || die "Unable to find db version"
dbver="$(db_ver_to_slot "$dbver")"
dbver="${dbver/\./}"
myconf="${myconf} --with-dbm=db${dbver}
--with-berkeley-db=$(db_includedir):/usr/$(get_libdir)"
else
myconf="${myconf} --without-berkeley-db"
fi
econf --datadir=/usr/share/apr-util-1 \
--with-apr=/usr \
--with-expat=/usr \
$(use_with gdbm) \
$(use_with mysql) \
$(use_with postgres pgsql) \
$(use_with sqlite sqlite2) \
$(use_with sqlite3) \
${myconf}
emake || die "emake failed!"
if use doc; then
emake dox || die "emake dox failed"
fi
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc CHANGES NOTICE
if use doc; then
dohtml docs/dox/html/* || die "dohtml failed"
fi
# This file is only used on AIX systems, which gentoo is not,
# and causes collisions between the SLOTs, so kill it
rm "${D}"/usr/$(get_libdir)/aprutil.exp
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/apr-util-1.3.2.ebuild,v 1.1 2008/06/23 18:06:30 hollow Exp $
inherit eutils flag-o-matic libtool db-use
DESCRIPTION="Apache Portable Runtime Utility Library"
HOMEPAGE="http://apr.apache.org/"
SRC_URI="mirror://apache/apr/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="1"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
IUSE="berkdb doc freetds gdbm ldap mysql odbc postgres sqlite sqlite3"
RESTRICT="test"
RDEPEND="dev-libs/expat
>=dev-libs/apr-${PV}
berkdb? ( =sys-libs/db-4* )
freetds? ( dev-db/freetds )
gdbm? ( sys-libs/gdbm )
ldap? ( =net-nds/openldap-2* )
mysql? ( =virtual/mysql-5* )
odbc? ( dev-db/unixODBC )
postgres? ( virtual/postgresql-base )
sqlite? ( =dev-db/sqlite-2* )
sqlite3? ( =dev-db/sqlite-3* )"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )"
src_compile() {
local myconf=""
use ldap && myconf="${myconf} --with-ldap"
if use berkdb; then
dbver="$(db_findver sys-libs/db)" || die "Unable to find db version"
dbver="$(db_ver_to_slot "$dbver")"
dbver="${dbver/\./}"
myconf="${myconf} --with-dbm=db${dbver}
--with-berkeley-db=$(db_includedir):/usr/$(get_libdir)"
else
myconf="${myconf} --without-berkeley-db"
fi
econf --datadir=/usr/share/apr-util-1 \
--with-apr=/usr \
--with-expat=/usr \
$(use_with freetds) \
$(use_with gdbm) \
$(use_with mysql) \
$(use_with odbc) \
$(use_with postgres pgsql) \
$(use_with sqlite sqlite2) \
$(use_with sqlite3) \
${myconf}
emake || die "emake failed!"
if use doc; then
emake dox || die "emake dox failed"
fi
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc CHANGES NOTICE
if use doc; then
dohtml docs/dox/html/* || die "dohtml failed"
fi
# This file is only used on AIX systems, which gentoo is not,
# and causes collisions between the SLOTs, so kill it
rm "${D}"/usr/$(get_libdir)/aprutil.exp
}