summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-15 12:10:09 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-15 12:10:09 +0000
commit186a8333b0e88d0dcdc39d2d3749c05fe99ec59e (patch)
treea542e3dc4615d38a926bd8be64ed33387bd8a9fc /dev-libs
parentQA, imported prefix changes (diff)
downloadgentoo-2-186a8333b0e88d0dcdc39d2d3749c05fe99ec59e.tar.gz
gentoo-2-186a8333b0e88d0dcdc39d2d3749c05fe99ec59e.tar.bz2
gentoo-2-186a8333b0e88d0dcdc39d2d3749c05fe99ec59e.zip
Delete older ebuild.
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/dbxml/Manifest1
-rw-r--r--dev-libs/dbxml/dbxml-2.5.16.ebuild194
2 files changed, 0 insertions, 195 deletions
diff --git a/dev-libs/dbxml/Manifest b/dev-libs/dbxml/Manifest
index a6640e6e56d6..d0715d1b9e32 100644
--- a/dev-libs/dbxml/Manifest
+++ b/dev-libs/dbxml/Manifest
@@ -1,5 +1,4 @@
DIST dbxml-2.5.16.tar.gz 52819154 RMD160 fdb4c85271cb84a8e31931d8fb287ad17fafff9c SHA1 46f0e6b301e556c2502e4da0cd96a599acc53837 SHA256 f2423be3805811a9cca71d6877c0b1bdc1941cd76c3f26d6eb011a5724a3edd2
EBUILD dbxml-2.5.16-r1.ebuild 4739 RMD160 f3df2436b990b9e54da5490585081c313510ff90 SHA1 8446441e9a68227f62c2acde4d28dfb023c4a813 SHA256 3117fd41ed91114cde2882bae0153396c9c375e6a31f0c609cc0a9942bc75b16
-EBUILD dbxml-2.5.16.ebuild 4888 RMD160 ad48755d31f5e6e39405549d0367256feab26122 SHA1 259d133ca655dcf7571955c6c4177bcae810a3c5 SHA256 2d390dd680277810397ec67575487c8bdabee5e42945187bfe408ba9073a56f3
MISC ChangeLog 2502 RMD160 21d4360a775b7cc6596c11dc414dc0321a0b5aad SHA1 8125d329e5f41cb465cd5230d112e8fdf16bd8a0 SHA256 482e70439de6ccd4a3ac5866bc43fd85b6a466133ac8a1f5edcbd8d8ad3bfff6
MISC metadata.xml 255 RMD160 ffab53e6c250ea6880036224ec7944b5f25a2ff5 SHA1 fe663297149bc1158616da920b78c01b929398b9 SHA256 fce233aa3c475563b0dde3e7115a5f61f6da338070a7f995e9a9ba146468e935
diff --git a/dev-libs/dbxml/dbxml-2.5.16.ebuild b/dev-libs/dbxml/dbxml-2.5.16.ebuild
deleted file mode 100644
index 0aa66b808338..000000000000
--- a/dev-libs/dbxml/dbxml-2.5.16.ebuild
+++ /dev/null
@@ -1,194 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/dbxml/dbxml-2.5.16.ebuild,v 1.2 2010/01/19 09:31:03 dev-zero Exp $
-
-EAPI="2"
-
-inherit autotools flag-o-matic perl-app python eutils versionator libtool multilib java-pkg-opt-2
-
-MY_PV="$(get_version_component_range 1-3)"
-MY_P="${PN}-${MY_PV}"
-PATCH_V="$(get_version_component_range 4)"
-PATCH_V="${PATCH_V:-0}"
-DB_VER="4.8"
-
-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/${MY_P}.tar.gz
- http://download-west.oracle.com/berkeley-db/${MY_P}.tar.gz
- http://download-uk.oracle.com/berkeley-db/${MY_P}.tar.gz"
-LICENSE="OracleDB Apache-1.1 BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc examples java perl python tcl"
-
-RDEPEND="sys-libs/db:${DB_VER}[-nocxx,java?]
- >=dev-libs/xerces-c-3
- >=dev-libs/xqilla-2.1.2
- sys-libs/zlib
- perl? ( dev-lang/perl )
- python? (
- dev-lang/python:2.6
- >=dev-python/bsddb3-4.8.0 )
- tcl? ( dev-lang/tcl )
- java? ( >=virtual/jre-1.5 )"
-DEPEND="${RDEPEND}
- sys-devel/libtool
- java? ( >=virtual/jdk-1.5 )"
-
-get_patches() {
- local patches=""
- local patch_v=1
- while [ ${patch_v} -le ${PATCH_V} ] ; do
- patches="${patches} patch.${MY_PV}.${patch_v}"
- let "patch_v = ${patch_v} + 1"
- done
- echo ${patches}
-}
-
-for patch in $(get_patches) ; do
- SRC_URI="${SRC_URI}
- http://www.oracle.com/technology/products/berkeley-db/xml/update/${MY_PV}/${patch}"
-done
-
-S="${WORKDIR}/${MY_P}/dbxml"
-
-src_unpack() {
- tar xzpf "${DISTDIR}/${MY_P}.tar.gz" ${MY_P}/dbxml || die "unpacking package failed"
-}
-
-src_prepare() {
- for patch in $(get_patches) ; do
- edos2unix "${DISTDIR}/${patch}"
- epatch "${DISTDIR}/${patch}"
- done
-
- # sys-libs/db is slotted on Gentoo
- sed -i \
- -e "s:db_version=.*:db_version=${DB_VER}:" \
- dist/aclocal/options.ac configure || die "sed failed"
-
- if use java ; then
- sed -i \
- -e "s|\$with_berkeleydb/lib/db.jar|$(java-pkg_getjars db-${DB_VER})|" \
- dist/aclocal/options.ac configure || die "sed failed"
- fi
-
- # * Fix libraries to link
- # * Strip "../../build_unix/.libs" from LIBPATH or it'll
- # show up in the RPATH entry
- sed -i \
- -e "s|dbxml-2|dbxml-$(get_version_component_range 1-2)|" \
- -e "s|db-4|db-${DB_VER}|" \
- -e 's|dbxml_home = .*|dbxml_home = "../.."|' \
- -e 's|"../../build_unix/.libs",||' \
- src/python/setup.py.in || die "sed failed"
-
- sed -i \
- -e "s|dbxml-2|dbxml-$(get_version_component_range 1-2)|" \
- -e "s|db_cxx-4|db_cxx-${DB_VER}|" \
- -e "s|@DB_DIR@/lib|/usr/$(get_libdir)|" \
- -e "s|@DB_DIR@/include|/usr/include/db${DB_VER}|" \
- -e "s|@XERCES_DIR@/lib|/usr/$(get_libdir)|" \
- -e "s|@XQILLA_DIR@/lib|/usr/$(get_libdir)|" \
- src/perl/config.in || die "sed failed"
-
- # avoid the automake/autoconf run in src_{configure,compile}
- eautoreconf
-}
-
-src_configure() {
- cd "${S}/build_unix"
-
- #Needed despite db_version stuff above
- append-flags -I/usr/include/db${DB_VER}
-
- local myconf=""
-
- # use_enable doesn't work here due to a different syntax
- use java && myconf="${myconf} --enable-java"
- use tcl && myconf="${myconf} --enable-tcl --with-tcl=/usr/$(get_libdir)"
-
- export ac_cv_prog_path_strip="missing_strip"
- ECONF_SOURCE="../" \
- JAVAPREFIX="${JAVA_HOME}" \
- econf \
- --with-berkeleydb=/usr \
- --with-xqilla=/usr \
- --with-xerces=/usr \
- ${myconf}
-}
-
-src_compile() {
- cd "${S}/build_unix"
-
- default
-
- if use python ; then
- einfo "Compiling python extension"
- cd "${S}/src/python"
- append-cflags "-I../../include"
- append-ldflags "-L../../build_unix/.libs"
- python_version
- "${python}" setup.py build || die "python build failed"
- fi
-
- if use perl ; then
- cd "${S}/src/perl"
- perl-app_src_prep
- perl-app_src_compile
- fi
-}
-
-src_install() {
- cd "${S}/build_unix"
-
- # somewhat broken build system
- emake DESTDIR="${D}" install || die "emake install failed"
-
- use doc && dohtml -A pdf -r "${D}"/usr/docs/*
- rm -rf "${D}/usr/docs"
-
- if use java ; then
- java-pkg_dojar "${D}/usr/$(get_libdir)/dbxml.jar"
- rm "${D}/usr/$(get_libdir)/dbxml.jar"
- fi
-
- if use python ; then
- cd "${S}/src/python"
- python_version
- "${python}" setup.py install --root="${D}" --no-compile || die "python install failed"
- python_need_rebuild
- fi
-
- if use perl ; then
- cd "${S}/src/perl"
- emake DESTDIR="${D}" install || die "emake install perl module failed"
- fixlocalpod
- fi
-
- if use examples ; then
- insinto /usr/share/doc/${PF}
- doins -r "${S}/examples"
- fi
-
-}
-
-pkg_preinst() {
- perl-module_pkg_preinst
- java-pkg-opt-2_pkg_preinst
-}
-
-pkg_postinst() {
- if use python ; then
- python_version
- python_mod_optimize "/usr/$(get_libdir)/python${PYVER}/site-packages"
- fi
-}
-
-pkg_postrm() {
- if use python ; then
- python_version
- python_mod_cleanup "/usr/$(get_libdir)/python${PYVER}/site-packages"
- fi
-}