summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2005-03-28 00:49:13 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2005-03-28 00:49:13 +0000
commit888a522da64b61024b86c2d89648d0150f899bfa (patch)
treee136b48ae9a60ba96ae035a37ced9c1847ea8725 /dev-db/libdbi-drivers
parentBug #86514, fix DEPEND. Also add metadata. (diff)
downloadgentoo-2-888a522da64b61024b86c2d89648d0150f899bfa.tar.gz
gentoo-2-888a522da64b61024b86c2d89648d0150f899bfa.tar.bz2
gentoo-2-888a522da64b61024b86c2d89648d0150f899bfa.zip
Bug #86514, fix DEPEND. Also add metadata.
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-db/libdbi-drivers')
-rw-r--r--dev-db/libdbi-drivers/ChangeLog8
-rw-r--r--dev-db/libdbi-drivers/Manifest5
-rw-r--r--dev-db/libdbi-drivers/files/digest-libdbi-drivers-0.7.1-r11
-rw-r--r--dev-db/libdbi-drivers/libdbi-drivers-0.7.1-r1.ebuild45
-rw-r--r--dev-db/libdbi-drivers/metadata.xml8
5 files changed, 64 insertions, 3 deletions
diff --git a/dev-db/libdbi-drivers/ChangeLog b/dev-db/libdbi-drivers/ChangeLog
index f7211c64745f..6362fe296691 100644
--- a/dev-db/libdbi-drivers/ChangeLog
+++ b/dev-db/libdbi-drivers/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-db/libdbi-drivers
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/libdbi-drivers/ChangeLog,v 1.6 2005/02/28 00:45:35 trapni Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/libdbi-drivers/ChangeLog,v 1.7 2005/03/28 00:48:16 robbat2 Exp $
+
+*libdbi-drivers-0.7.1-r1 (27 Mar 2005)
+
+ 27 Mar 2005; Robin H. Johnson <robbat2@gentoo.org> +metadata.xml,
+ +libdbi-drivers-0.7.1-r1.ebuild:
+ Bug #86514, fix DEPEND. Also add metadata.
28 Feb 2005; Christian Parpart <trapni@gentoo.org>
libdbi-drivers-0.7.1.ebuild:
diff --git a/dev-db/libdbi-drivers/Manifest b/dev-db/libdbi-drivers/Manifest
index 7e97f0986b09..f2135cbb3d53 100644
--- a/dev-db/libdbi-drivers/Manifest
+++ b/dev-db/libdbi-drivers/Manifest
@@ -1,5 +1,6 @@
-MD5 105fe74aabf363988e2363358bd7b3fb libdbi-drivers-0.7.1-r1.ebuild 1400
+MD5 beb929b411e6f5d285e4dae29c3d3068 libdbi-drivers-0.7.1-r1.ebuild 1553
MD5 7103af9e9682a1a17a1d458adb44fcc1 libdbi-drivers-0.7.1.ebuild 1241
-MD5 c1eaebd8018b884bcd22ae49354dcd03 ChangeLog 742
+MD5 fafb3e221e6d7ce3046551c983815441 ChangeLog 932
+MD5 21cd68602737d7c996bceabf6e62c468 metadata.xml 223
MD5 773b07f27a69df8943d40fea56b1c36e files/digest-libdbi-drivers-0.7.1-r1 72
MD5 773b07f27a69df8943d40fea56b1c36e files/digest-libdbi-drivers-0.7.1 72
diff --git a/dev-db/libdbi-drivers/files/digest-libdbi-drivers-0.7.1-r1 b/dev-db/libdbi-drivers/files/digest-libdbi-drivers-0.7.1-r1
new file mode 100644
index 000000000000..836a39fb827e
--- /dev/null
+++ b/dev-db/libdbi-drivers/files/digest-libdbi-drivers-0.7.1-r1
@@ -0,0 +1 @@
+MD5 f11020119ceb7a6dee3969cb0589d4bc libdbi-drivers-0.7.1.tar.gz 488642
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
new file mode 100644
index 000000000000..b8c1be08a781
--- /dev/null
+++ b/dev-db/libdbi-drivers/libdbi-drivers-0.7.1-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2005 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.1 2005/03/28 00:48:16 robbat2 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? ( dev-db/mysql )
+ postgres? ( dev-db/postgresql )
+ sqlite? ( <dev-db/sqlite-3 )"
+
+IUSE="mysql postgres sqlite oci8"
+KEYWORDS="~x86 ~ppc ~amd64"
+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
+}
diff --git a/dev-db/libdbi-drivers/metadata.xml b/dev-db/libdbi-drivers/metadata.xml
new file mode 100644
index 000000000000..5d9f5be9d49d
--- /dev/null
+++ b/dev-db/libdbi-drivers/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>robbat2@gentoo.org</email>
+</maintainer>
+</pkgmetadata>