summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Phillips <rphillips@gentoo.org>2002-07-10 16:55:21 +0000
committerRyan Phillips <rphillips@gentoo.org>2002-07-10 16:55:21 +0000
commitd82043238f2662d5a35f2d3e96410d1b768d1e45 (patch)
treeee37aaf660a14c9fc7bcda04c1e8dd77d5655dd8 /dev-ruby
parentFixed Typos. #4803 (diff)
downloadhistorical-d82043238f2662d5a35f2d3e96410d1b768d1e45.tar.gz
historical-d82043238f2662d5a35f2d3e96410d1b768d1e45.tar.bz2
historical-d82043238f2662d5a35f2d3e96410d1b768d1e45.zip
New version. Fixes #4802
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/ruby-dbi/ChangeLog8
-rw-r--r--dev-ruby/ruby-dbi/files/digest-ruby-dbi-0.0.161
-rw-r--r--dev-ruby/ruby-dbi/ruby-dbi-0.0.16.ebuild43
3 files changed, 51 insertions, 1 deletions
diff --git a/dev-ruby/ruby-dbi/ChangeLog b/dev-ruby/ruby-dbi/ChangeLog
index 3564bf62bdf3..b2303ee85e10 100644
--- a/dev-ruby/ruby-dbi/ChangeLog
+++ b/dev-ruby/ruby-dbi/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/ruby-dbi
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-dbi/ChangeLog,v 1.3 2002/07/08 02:43:55 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-dbi/ChangeLog,v 1.4 2002/07/10 16:55:21 rphillips Exp $
+
+*ruby-dbi-0.0.16 (10 Jul 2002)
+
+ 10 Jul 2002; Ryan Phillips <rphillips@gentoo.org> ruby-dbi-0.0.15.ebuild :
+
+ New version
*ruby-dbi-0.0.15 (21 Jun 2002)
diff --git a/dev-ruby/ruby-dbi/files/digest-ruby-dbi-0.0.16 b/dev-ruby/ruby-dbi/files/digest-ruby-dbi-0.0.16
new file mode 100644
index 000000000000..4184de322ecc
--- /dev/null
+++ b/dev-ruby/ruby-dbi/files/digest-ruby-dbi-0.0.16
@@ -0,0 +1 @@
+MD5 78a3138ed35dd4e025ad024cc975b0a5 ruby-dbi-all-0.0.16.tar.gz 83029
diff --git a/dev-ruby/ruby-dbi/ruby-dbi-0.0.16.ebuild b/dev-ruby/ruby-dbi/ruby-dbi-0.0.16.ebuild
new file mode 100644
index 000000000000..69e3432b2524
--- /dev/null
+++ b/dev-ruby/ruby-dbi/ruby-dbi-0.0.16.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Maintainer: Geert Bevin <gbevin@uwyn.com>
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-dbi/ruby-dbi-0.0.16.ebuild,v 1.1 2002/07/10 16:55:21 rphillips Exp $
+
+S=${WORKDIR}/ruby-dbi-all
+DESCRIPTION="Ruby/DBI - a database independent interface for accessing databases - similar to Perl's DBI"
+SRC_URI="mirror://sourceforge/ruby-dbi/ruby-dbi-all-${PV}.tar.gz"
+HOMEPAGE="http://ruby-dbi.sourceforge.net/"
+
+DEPEND="=dev-lang/ruby-1.6*
+ mysql? ( >=dev-db/mysql-3.23.49 )
+ postgres? ( >=dev-db/postgresql-7.1.3-r4 )
+ firebird? ( >=dev-db/firebird-1.0-r1 )
+ odbc? ( >=dev-db/unixODBC-2.0.6 )"
+
+src_compile() {
+
+ my_config="dbi,dbd_proxy,dbd_sqlrelay"
+ use mysql && my_config="$my_config,dbd_mysql"
+ use postgres && my_config="$my_config,dbd_pg"
+ use firebird && my_config="$my_config,dbd_interbase"
+ use odbc && my_config="$my_config,dbd_odbc"
+
+ ruby setup.rb config --with=$my_config \
+ --bin-dir="${D}/usr/bin" \
+ --rb-dir="${D}/usr/lib/ruby/site_ruby/1.6" \
+ --so-dir="${D}/usr/lib/ruby/site_ruby/1.6/i686-linux-gnu" || die
+ ruby setup.rb setup || die
+
+}
+
+src_install () {
+
+ dodir /usr/bin
+ dodir /usr/lib/ruby/site_ruby/1.6
+ dodir /usr/lib/ruby/site_ruby/1.6/i686-linux-gnu
+
+ ruby setup.rb install || die
+
+ dodoc LICENSE README
+}
+