summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2004-03-25 03:24:53 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2004-03-25 03:24:53 +0000
commitf15b72cf0e4d09e74b580d8418d0614b3cba07cb (patch)
treed78f3fba773f0052543b9e0a341e433d8783194a /dev-db
parentMarked stable on sparc. (Manifest recommit) (diff)
downloadgentoo-2-f15b72cf0e4d09e74b580d8418d0614b3cba07cb.tar.gz
gentoo-2-f15b72cf0e4d09e74b580d8418d0614b3cba07cb.tar.bz2
gentoo-2-f15b72cf0e4d09e74b580d8418d0614b3cba07cb.zip
Initial commit. Original ebuild submitted by Max <m.e.bruche@lse.ac.uk>. Bug #45153.
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/libdbi-drivers/ChangeLog11
-rw-r--r--dev-db/libdbi-drivers/Manifest2
-rw-r--r--dev-db/libdbi-drivers/files/digest-libdbi-drivers-0.7.11
-rw-r--r--dev-db/libdbi-drivers/libdbi-drivers-0.7.1.ebuild32
-rw-r--r--dev-db/libdbi/ChangeLog10
-rw-r--r--dev-db/libdbi/Manifest2
-rw-r--r--dev-db/libdbi/files/digest-libdbi-0.7.21
-rw-r--r--dev-db/libdbi/libdbi-0.7.2.ebuild25
8 files changed, 84 insertions, 0 deletions
diff --git a/dev-db/libdbi-drivers/ChangeLog b/dev-db/libdbi-drivers/ChangeLog
new file mode 100644
index 000000000000..af929319f5f6
--- /dev/null
+++ b/dev-db/libdbi-drivers/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-db/libdbi-drivers
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/libdbi-drivers/ChangeLog,v 1.1 2004/03/25 03:24:53 robbat2 Exp $
+
+*libdbi-drivers-0.7.1 (24 Mar 2004)
+
+ 24 Mar 2004; Robin H. Johnson <robbat2@gentoo.org>
+ libdbi-drivers-0.7.1.ebuild:
+ Initial commit. Original ebuild submitted by Max <m.e.bruche@lse.ac.uk>. Bug
+ #45153.
+
diff --git a/dev-db/libdbi-drivers/Manifest b/dev-db/libdbi-drivers/Manifest
new file mode 100644
index 000000000000..8b2840bde469
--- /dev/null
+++ b/dev-db/libdbi-drivers/Manifest
@@ -0,0 +1,2 @@
+MD5 5f7ec902fdfab6e8ac2ef06998d90020 libdbi-drivers-0.7.1.ebuild 863
+MD5 773b07f27a69df8943d40fea56b1c36e files/digest-libdbi-drivers-0.7.1 72
diff --git a/dev-db/libdbi-drivers/files/digest-libdbi-drivers-0.7.1 b/dev-db/libdbi-drivers/files/digest-libdbi-drivers-0.7.1
new file mode 100644
index 000000000000..836a39fb827e
--- /dev/null
+++ b/dev-db/libdbi-drivers/files/digest-libdbi-drivers-0.7.1
@@ -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.ebuild b/dev-db/libdbi-drivers/libdbi-drivers-0.7.1.ebuild
new file mode 100644
index 000000000000..41c0199020b8
--- /dev/null
+++ b/dev-db/libdbi-drivers/libdbi-drivers-0.7.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+
+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"
+IUSE="mysql postgres sqlite oci8"
+KEYWORDS="~x86"
+SLOT=0
+
+src_compile() {
+ local myconf=""
+ local drivers=""
+ 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"
+ use oci8 && [ -n "${ORACLE_HOME}" ] && myconf="${myconf} --with-oracle --with-oracle-dir=${ORACLE_HOME}" drivers="${drivers} oracle"
+
+ if [ -z "${drivers}" ]; then
+ die "You have not specified any supported databases in your use flags (mysql, pgsql, sqlite, oracle)"
+ fi
+
+ econf ${myconf}
+ emake
+}
+
+src_install () {
+ make install DESTDIR=${D} || die "make install failed"
+ dodoc AUTHORS ChangeLog COPYING NEWS README README.osx TODO
+}
diff --git a/dev-db/libdbi/ChangeLog b/dev-db/libdbi/ChangeLog
new file mode 100644
index 000000000000..52ef65574b61
--- /dev/null
+++ b/dev-db/libdbi/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-db/libdbi
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/libdbi/ChangeLog,v 1.1 2004/03/25 03:22:28 robbat2 Exp $
+
+*libdbi-0.7.2 (24 Mar 2004)
+
+ 24 Mar 2004; Robin H. Johnson <robbat2@gentoo.org> libdbi-0.7.2.ebuild:
+ Initial commit. Original ebuild submitted by Max <m.e.bruche@lse.ac.uk>. Bug
+ #45153.
+
diff --git a/dev-db/libdbi/Manifest b/dev-db/libdbi/Manifest
new file mode 100644
index 000000000000..8bdbda59e473
--- /dev/null
+++ b/dev-db/libdbi/Manifest
@@ -0,0 +1,2 @@
+MD5 70354607e4d5fbd1c982d85e508f6274 libdbi-0.7.2.ebuild 557
+MD5 4134032b5381a34b9be39bb9bbd17ef8 files/digest-libdbi-0.7.2 64
diff --git a/dev-db/libdbi/files/digest-libdbi-0.7.2 b/dev-db/libdbi/files/digest-libdbi-0.7.2
new file mode 100644
index 000000000000..ae57420aa7eb
--- /dev/null
+++ b/dev-db/libdbi/files/digest-libdbi-0.7.2
@@ -0,0 +1 @@
+MD5 308e5746a2d0804be1d638319ad7b9c0 libdbi-0.7.2.tar.gz 516197
diff --git a/dev-db/libdbi/libdbi-0.7.2.ebuild b/dev-db/libdbi/libdbi-0.7.2.ebuild
new file mode 100644
index 000000000000..ff4057d47e6e
--- /dev/null
+++ b/dev-db/libdbi/libdbi-0.7.2.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+
+DESCRIPTION="libdbi implements a database-independent abstraction layer in C, similar to the DBI/DBD layer in Perl."
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+HOMEPAGE="http://${PN}.sourceforge.net/"
+LICENSE="LGPL-2.1"
+DEPEND=""
+RDEPEND=""
+IUSE=""
+KEYWORDS="~x86"
+SLOT=0
+
+src_compile() {
+ # should append CFLAGS, not replace them
+ sed -i.orig -e 's/^CFLAGS = /CFLAGS += /g' src/Makefile.in
+
+ econf || die
+ emake || die
+}
+
+src_install () {
+ make install DESTDIR=${D} || die "make install failed"
+ dodoc AUTHORS ChangeLog COPYING README README.osx TODO
+}