diff options
author | Ryan Phillips <rphillips@gentoo.org> | 2002-06-21 23:25:37 +0000 |
---|---|---|
committer | Ryan Phillips <rphillips@gentoo.org> | 2002-06-21 23:25:37 +0000 |
commit | 6f90b6c811c090b69b178bef1f2b0a56091bcd87 (patch) | |
tree | 62c1d26cc4b817cc4fea0a9e0385c8dff5df34b4 /dev-ruby | |
parent | Fixed regex. Fixes #3931 (diff) | |
download | gentoo-2-6f90b6c811c090b69b178bef1f2b0a56091bcd87.tar.gz gentoo-2-6f90b6c811c090b69b178bef1f2b0a56091bcd87.tar.bz2 gentoo-2-6f90b6c811c090b69b178bef1f2b0a56091bcd87.zip |
New version. Fixes #3976
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/ruby-dbi/ChangeLog | 10 | ||||
-rw-r--r-- | dev-ruby/ruby-dbi/files/digest-ruby-dbi-0.0.15 | 1 | ||||
-rw-r--r-- | dev-ruby/ruby-dbi/ruby-dbi-0.0.15.ebuild | 43 |
3 files changed, 53 insertions, 1 deletions
diff --git a/dev-ruby/ruby-dbi/ChangeLog b/dev-ruby/ruby-dbi/ChangeLog index 6e4d68f36452..eda4e868c410 100644 --- a/dev-ruby/ruby-dbi/ChangeLog +++ b/dev-ruby/ruby-dbi/ChangeLog @@ -1,10 +1,18 @@ # 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.1 2002/04/24 19:27:56 karltk Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-dbi/ChangeLog,v 1.2 2002/06/21 23:25:07 rphillips Exp $ + +*ruby-dbi-0.0.15 (21 Jun 2002) + + 21 Jun 2002; Ryan Phillips <rphillips@gentoo.org> ruby-dbi-0.0.15.ebuild : + + New version *ruby-dbi-0.0.13 (24 Apr 2002) 24 Apr 2002; Karl Trygve Kalleberg <karltk@gentoo.org> ruby-dbi-0.0.13.ebuild files/digest-ruby-dbi-0.0.13 : + + 24 Apr 2002; Karl Trygve Kalleberg <karltk@gentoo.org> ruby-dbi-0.0.13.ebuild files/digest-ruby-dbi-0.0.13 : Ruby/DBI - a database independent interface for accessing databases - similar to Perl's DBI. diff --git a/dev-ruby/ruby-dbi/files/digest-ruby-dbi-0.0.15 b/dev-ruby/ruby-dbi/files/digest-ruby-dbi-0.0.15 new file mode 100644 index 000000000000..bcf67141dcdc --- /dev/null +++ b/dev-ruby/ruby-dbi/files/digest-ruby-dbi-0.0.15 @@ -0,0 +1 @@ +MD5 8a543a63a0bec6deb8629f747827a090 ruby-dbi-all-0.0.15.tar.gz 86069 diff --git a/dev-ruby/ruby-dbi/ruby-dbi-0.0.15.ebuild b/dev-ruby/ruby-dbi/ruby-dbi-0.0.15.ebuild new file mode 100644 index 000000000000..784492faeabf --- /dev/null +++ b/dev-ruby/ruby-dbi/ruby-dbi-0.0.15.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.15.ebuild,v 1.1 2002/06/21 23:25:36 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 +} + |