Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 154843 Details for
Bug 24473
dev-libs/dbxml (Berkeley DB XML) - new ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dbxml-2.4.13.ebuild
dbxml-2.4.13.ebuild (text/plain), 2.30 KB, created by
Guido Jäkel
on 2008-05-30 15:19:12 UTC
(
hide
)
Description:
dbxml-2.4.13.ebuild
Filename:
MIME Type:
Creator:
Guido Jäkel
Created:
2008-05-30 15:19:12 UTC
Size:
2.30 KB
patch
obsolete
># Copyright 1999-2008 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > > ># 20080523/gj NOTICE ># java works, but python breaks and perl stuff is untested. ># > > >inherit flag-o-matic db db-use distutils > >PATCHVER="2.4.13.1" >DESCRIPTION="BerkeleyDB XML, a native XML database from the BerkeleyDB team" >HOMEPAGE="http://www.oracle.com/database/berkeley-db/xml/index.html" >SRC_URI="http://download-east.oracle.com/berkeley-db/${P}.tar.gz > http://download-west.oracle.com/berkeley-db/${P}.tar.gz > http://download-uk.oracle.com/berkeley-db/${P}.tar.gz > http://www.oracle.com/technology/products/berkeley-db/xml/update/2.4.13/patch.${PATCHVER}" > >LICENSE="Apache-1.1" >SLOT="0" >KEYWORDS="~x86 ~amd64" >IUSE="doc python java perl" > >DEPEND=">=sys-libs/db-4.6.21_p1 > >=dev-libs/xerces-c-2.8.0 > >=dev-libs/xqilla-2.1.2 > python? ( > >=dev-lang/python-2.3 > >=dev-python/bsddb3-4.5.0 )" >RDEPEND="${DEPEND}" > >S="${WORKDIR}/${P}/dbxml" > >src_unpack() { > unpack ${A} > cd "${S}" > > EPATCH_OPTS="-p2 -d ${S}" > epatch "${DISTDIR}"/patch.${PATCHVER} ># epatch "${FILESDIR}"/${PN}-pythonfixes.patch > > #Tell the configure script where our db version is > db_version="$(db_findver sys-libs/db)" || die "Couldn't find db" > db_incpath="$(db_includedir)" || die "Couldn't find db include path" > sed -i -e "s:db_version=.*:db_version=${db_version}:" dist/configure && \ > sed -i -e "s:GENTOODBINCPATH:${db_incpath}:" src/python/setup.py.in && \ > sed -i -e "s:GENTOODB_CXX:db_cxx-${db_version}:" src/python/setup.py.in || \ > die "Sed failed" >} > >src_compile() { > > cd "${S}"/build_unix > > #Needed despite db_version stuff above > append-flags -I$(db_includedir) > > # use_enable doesn't work here due to a different syntax > if use java; then > CONF=" --enable-java=yes" > fi > if use perl; then > CONF="${CONF} --enable-perl=yes" > fi > > ECONF_SOURCE=../dist > econf --with-berkeleydb=/usr --with-xqilla=/usr --with-xerces=/usr ${CONF}|| die "econf failed" > > emake -j1 || die "emake failed" > if use python ; then > einfo "Compiling python extension" > cd "${S}"/src/python > distutils_src_compile > fi >} > >src_install() { > cd "${S}"/build_unix > > #Install fails with emake > einstall || die "einstall failed" > db_src_install_doc > > if use python ; then > einfo "Installing python extension" > cd "${S}"/src/python > distutils_src_install > fi >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 24473
:
112198
| 154843 |
154845