diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2005-03-28 00:49:13 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2005-03-28 00:49:13 +0000 |
commit | 57bb0523dc5ba61a65de315f7154b4d1ac485669 (patch) | |
tree | 9f63c723e1be60866bb46706e1037ea6d6876711 /dev-db | |
parent | Bug #86514, fix DEPEND. Also add metadata. (diff) | |
download | historical-57bb0523dc5ba61a65de315f7154b4d1ac485669.tar.gz historical-57bb0523dc5ba61a65de315f7154b4d1ac485669.tar.bz2 historical-57bb0523dc5ba61a65de315f7154b4d1ac485669.zip |
Bug #86514, fix DEPEND. Also add metadata.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/libdbi-drivers/Manifest | 5 | ||||
-rw-r--r-- | dev-db/libdbi-drivers/files/digest-libdbi-drivers-0.7.1-r1 | 1 | ||||
-rw-r--r-- | dev-db/libdbi-drivers/libdbi-drivers-0.7.1-r1.ebuild | 45 | ||||
-rw-r--r-- | dev-db/libdbi-drivers/metadata.xml | 8 |
4 files changed, 57 insertions, 2 deletions
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> |