summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2009-02-22 12:36:45 +0000
committerSven Wegener <swegener@gentoo.org>2009-02-22 12:36:45 +0000
commitb8ef238438c7b0a70e76ab6e5b65cef1da07179d (patch)
tree1fb2a20abf0f977275a155df941c194240cf7f15 /dev-db
parentQuote instead of escape inside $() to work-around bug in bash-4.0 (diff)
downloadgentoo-2-b8ef238438c7b0a70e76ab6e5b65cef1da07179d.tar.gz
gentoo-2-b8ef238438c7b0a70e76ab6e5b65cef1da07179d.tar.bz2
gentoo-2-b8ef238438c7b0a70e76ab6e5b65cef1da07179d.zip
Cleanup.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/opendbx/ChangeLog9
-rw-r--r--dev-db/opendbx/files/opendbx-1.3.10-gcc-4.3.patch10
-rw-r--r--dev-db/opendbx/opendbx-1.3.10.ebuild65
-rw-r--r--dev-db/opendbx/opendbx-1.3.8.ebuild58
4 files changed, 7 insertions, 135 deletions
diff --git a/dev-db/opendbx/ChangeLog b/dev-db/opendbx/ChangeLog
index 888636c3b016..c17de0d2a7e5 100644
--- a/dev-db/opendbx/ChangeLog
+++ b/dev-db/opendbx/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-db/opendbx
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/opendbx/ChangeLog,v 1.23 2008/11/16 20:59:24 swegener Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/opendbx/ChangeLog,v 1.24 2009/02/22 12:36:45 swegener Exp $
+
+ 22 Feb 2009; Sven Wegener <swegener@gentoo.org>
+ -files/opendbx-1.3.10-gcc-4.3.patch, -opendbx-1.3.8.ebuild,
+ -opendbx-1.3.10.ebuild:
+ Cleanup.
*opendbx-1.3.11 (16 Nov 2008)
diff --git a/dev-db/opendbx/files/opendbx-1.3.10-gcc-4.3.patch b/dev-db/opendbx/files/opendbx-1.3.10-gcc-4.3.patch
deleted file mode 100644
index 0e5bc504f3e5..000000000000
--- a/dev-db/opendbx/files/opendbx-1.3.10-gcc-4.3.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- opendbx-1.3.10/test/odbxplus-regression.cpp
-+++ opendbx-1.3.10/test/odbxplus-regression.cpp
-@@ -12,6 +12,7 @@
- #include <vector>
- #include <iostream>
- #include <opendbx/api>
-+#include <cstdlib>
-
- #ifdef HAVE_CONFIG_H
- #include <config.h>
diff --git a/dev-db/opendbx/opendbx-1.3.10.ebuild b/dev-db/opendbx/opendbx-1.3.10.ebuild
deleted file mode 100644
index 98db5ad70328..000000000000
--- a/dev-db/opendbx/opendbx-1.3.10.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/opendbx/opendbx-1.3.10.ebuild,v 1.2 2008/07/16 09:43:20 chtekk Exp $
-
-inherit flag-o-matic eutils
-
-DESCRIPTION="OpenDBX - A database abstraction layer"
-HOMEPAGE="http://www.linuxnetworks.de/doc/index.php/OpenDBX"
-SRC_URI="http://www.linuxnetworks.de/opendbx/download/${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="bindist firebird mysql oracle postgres sqlite sqlite3"
-
-DEPEND="mysql? ( virtual/mysql )
- postgres? ( virtual/postgresql-base )
- sqlite? ( <dev-db/sqlite-3 )
- sqlite3? ( =dev-db/sqlite-3* )
- oracle? ( dev-db/oracle-instantclient-basic )
- !bindist? ( firebird? ( dev-db/firebird ) )"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
- if ! ( use !bindist && use firebird || use mysql || use oracle || use postgres || use sqlite || use sqlite3 )
- then
- ewarn "You should enable at least one of the following USE flags:"
- ewarn "firebird, mysql, oracle, postgres, sqlite or sqlite3"
- fi
-
- if use oracle && [[ ! -d ${ORACLE_HOME} ]]
- then
- die "Oracle support requested, but ORACLE_HOME not set to a valid directory!"
- fi
-
- use mysql && append-cppflags -I/usr/include/mysql
- use firebird && append-cppflags -I/opt/firebird/include
- use oracle && append-ldflags -L${ORACLE_HOME}/lib
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/${P}-gcc-4.3.patch
-}
-
-src_compile() {
- local backends=""
-
- use !bindist && use firebird && backends="${backends} firebird"
- use mysql && backends="${backends} mysql"
- use oracle && backends="${backends} oracle"
- use postgres && backends="${backends} pgsql"
- use sqlite && backends="${backends} sqlite"
- use sqlite3 && backends="${backends} sqlite3"
-
- econf --with-backends="${backends}" || die "econf failed"
- emake || die "emake failed"
-}
-
-src_install() {
- make install DESTDIR="${D}" || die "make install failed"
- dodoc AUTHORS ChangeLog README
-}
diff --git a/dev-db/opendbx/opendbx-1.3.8.ebuild b/dev-db/opendbx/opendbx-1.3.8.ebuild
deleted file mode 100644
index 65c1d9cfd3cc..000000000000
--- a/dev-db/opendbx/opendbx-1.3.8.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/opendbx/opendbx-1.3.8.ebuild,v 1.3 2008/07/16 09:43:20 chtekk Exp $
-
-inherit flag-o-matic
-
-DESCRIPTION="OpenDBX - A database abstraction layer"
-HOMEPAGE="http://www.linuxnetworks.de/doc/index.php/OpenDBX"
-SRC_URI="http://www.linuxnetworks.de/opendbx/download/${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="bindist firebird mysql oracle postgres sqlite sqlite3"
-
-DEPEND="mysql? ( virtual/mysql )
- postgres? ( virtual/postgresql-base )
- sqlite? ( <dev-db/sqlite-3 )
- sqlite3? ( =dev-db/sqlite-3* )
- oracle? ( dev-db/oracle-instantclient-basic )
- !bindist? ( firebird? ( dev-db/firebird ) )"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
- if ! ( use !bindist && use firebird || use mysql || use oracle || use postgres || use sqlite || use sqlite3 )
- then
- ewarn "You should enable at least one of the following USE flags:"
- ewarn "firebird, mysql, oracle, postgres, sqlite or sqlite3"
- fi
-
- if use oracle && [[ ! -d ${ORACLE_HOME} ]]
- then
- die "Oracle support requested, but ORACLE_HOME not set to a valid directory!"
- fi
-
- use mysql && append-cppflags -I/usr/include/mysql
- use firebird && append-cppflags -I/opt/firebird/include
- use oracle && append-ldflags -L${ORACLE_HOME}/lib
-}
-
-src_compile() {
- local backends=""
-
- use !bindist && use firebird && backends="${backends} firebird"
- use mysql && backends="${backends} mysql"
- use oracle && backends="${backends} oracle"
- use postgres && backends="${backends} pgsql"
- use sqlite && backends="${backends} sqlite"
- use sqlite3 && backends="${backends} sqlite3"
-
- econf --with-backends="${backends}" || die "econf failed"
- emake || die "emake failed"
-}
-
-src_install() {
- make install DESTDIR="${D}" || die "make install failed"
- dodoc AUTHORS ChangeLog README
-}