summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-09-29 02:47:33 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2008-09-29 02:47:33 +0000
commit0e7d7a8031acc94941c15e73eafbc30332facbcd (patch)
tree4a34a5c48669d00e3ef99a3e4c90bbc6f2ac431e /dev-db/libdbi-drivers/libdbi-drivers-0.7.1-r1.ebuild
parentadd bug number to gnome 2.22 unmask (diff)
downloadgentoo-2-0e7d7a8031acc94941c15e73eafbc30332facbcd.tar.gz
gentoo-2-0e7d7a8031acc94941c15e73eafbc30332facbcd.tar.bz2
gentoo-2-0e7d7a8031acc94941c15e73eafbc30332facbcd.zip
Cleanup old ebuilds and repoman warnings.
(Portage version: 2.2_rc11/cvs/Linux 2.6.27-rc1-10246-gca5de40 x86_64)
Diffstat (limited to 'dev-db/libdbi-drivers/libdbi-drivers-0.7.1-r1.ebuild')
-rw-r--r--dev-db/libdbi-drivers/libdbi-drivers-0.7.1-r1.ebuild45
1 files changed, 0 insertions, 45 deletions
diff --git a/dev-db/libdbi-drivers/libdbi-drivers-0.7.1-r1.ebuild b/dev-db/libdbi-drivers/libdbi-drivers-0.7.1-r1.ebuild
deleted file mode 100644
index 230ad6a91cfa..000000000000
--- a/dev-db/libdbi-drivers/libdbi-drivers-0.7.1-r1.ebuild
+++ /dev/null
@@ -1,45 +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/libdbi-drivers/libdbi-drivers-0.7.1-r1.ebuild,v 1.6 2008/05/21 15:54:57 dev-zero Exp $
-
-DESCRIPTION="The libdbi-drivers project maintains drivers for libdbi."
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-HOMEPAGE="http://${PN}.sourceforge.net/"
-LICENSE="LGPL-2.1"
-DEPEND="dev-db/libdbi
- mysql? ( virtual/mysql )
- postgres? ( virtual/postgresql-server )
- sqlite? ( <dev-db/sqlite-3 )"
-
-IUSE="mysql postgres sqlite oci8"
-KEYWORDS="amd64 ppc x86"
-SLOT=0
-
-src_compile() {
- local myconf=""
- local drivers=""
-# WARNING: the configure script does NOT work correctly
-# --without-$driver does NOT work
-# so do NOT use `use_with...`
- use mysql && drivers="${drivers} mysql" myconf="${myconf} --with-mysql"
- use postgres && drivers="${drivers} pgsql" myconf="${myconf} --with-pgsql"
- use sqlite && drivers="${drivers} sqlite" myconf="${myconf} --with-sqlite"
- if use oci8; then
- if [ -z "${ORACLE_HOME}" ]; then
- die "\$ORACLE_HOME is not set!"
- fi
- myconf="${myconf} --with-oracle-dir=${ORACLE_HOME} --with-oracle" drivers="${drivers} oracle"
- fi
-# safety check
- if [ -z "${drivers}" ]; then
- die "You have not specified any supported databases in your use flags (mysql, pgsql, sqlite, oracle)"
- fi
-
- econf ${myconf} || die "econf failed"
- emake || die "emake failed"
-}
-
-src_install () {
- emake install DESTDIR=${D} || die "make install failed"
- dodoc AUTHORS ChangeLog COPYING NEWS README README.osx TODO
-}