diff options
Diffstat (limited to 'dev-ruby/ruby-dbi/ruby-dbi-0.0.18.ebuild')
-rw-r--r-- | dev-ruby/ruby-dbi/ruby-dbi-0.0.18.ebuild | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/dev-ruby/ruby-dbi/ruby-dbi-0.0.18.ebuild b/dev-ruby/ruby-dbi/ruby-dbi-0.0.18.ebuild index 1159384a662e..3a440da1f762 100644 --- a/dev-ruby/ruby-dbi/ruby-dbi-0.0.18.ebuild +++ b/dev-ruby/ruby-dbi/ruby-dbi-0.0.18.ebuild @@ -1,15 +1,15 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-dbi/ruby-dbi-0.0.18.ebuild,v 1.2 2003/02/13 11:42:44 vapier Exp $ +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-dbi/ruby-dbi-0.0.18.ebuild,v 1.3 2003/08/07 03:09:12 vapier 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/" +SRC_URI="mirror://sourceforge/ruby-dbi/ruby-dbi-all-${PV}.tar.gz" -SLOT="0" LICENSE="as-is" +SLOT="0" KEYWORDS="x86" +IUSE="firebird odbc postgres mysql" DEPEND="=dev-lang/ruby-1.6* mysql? ( >=dev-db/mysql-3.23.49 ) @@ -17,8 +17,9 @@ DEPEND="=dev-lang/ruby-1.6* firebird? ( >=dev-db/firebird-1.0-r1 ) odbc? ( >=dev-db/unixODBC-2.0.6 )" -src_compile() { +S=${WORKDIR}/ruby-dbi-all +src_compile() { myconf="dbi,dbd_proxy,dbd_sqlrelay" use mysql && myconf="${myconf},dbd_mysql" use postgres && myconf="${myconf},dbd_pg" @@ -32,11 +33,9 @@ src_compile() { --so-dir="${D}/usr/lib/ruby/site_ruby/1.6/i686-linux-gnu" || die ruby setup.rb setup || die - } -src_install () { - +src_install() { dodir /usr/bin dodir /usr/lib/ruby/site_ruby/1.6 dodir /usr/lib/ruby/site_ruby/1.6/i686-linux-gnu |