summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Brown <rbrown@gentoo.org>2007-04-24 15:58:14 +0000
committerRichard Brown <rbrown@gentoo.org>2007-04-24 15:58:14 +0000
commit1d04132b769001ee055c10f7f1641c3960b0b7e0 (patch)
tree9757bba6ca0577c303a11df12ab8e9e9cfd1c2bc
parentFix root usage (diff)
downloadrbrown-1d04132b769001ee055c10f7f1641c3960b0b7e0.tar.gz
rbrown-1d04132b769001ee055c10f7f1641c3960b0b7e0.tar.bz2
rbrown-1d04132b769001ee055c10f7f1641c3960b0b7e0.zip
add ruby-odbc
svn path=/; revision=13
-rw-r--r--dev-ruby/ruby-odbc/ruby-odbc-0.9995.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/ruby-odbc/ruby-odbc-0.9995.ebuild b/dev-ruby/ruby-odbc/ruby-odbc-0.9995.ebuild
new file mode 100644
index 0000000..287524f
--- /dev/null
+++ b/dev-ruby/ruby-odbc/ruby-odbc-0.9995.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-odbc/ruby-odbc-0.9994.ebuild,v 1.1 2007/02/04 03:55:05 pclouds Exp $
+
+inherit ruby
+DESCRIPTION="RubyODBC - For accessing ODBC data sources from the Ruby language"
+HOMEPAGE="http://www.ch-werner.de/rubyodbc/"
+SRC_URI="http://www.ch-werner.de/rubyodbc/${P}.tar.gz"
+
+LICENSE="|| ( GPL-2 Ruby )"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
+USE_RUBY="ruby18"
+IUSE="unicode"
+
+DEPEND="virtual/ruby
+ >=dev-db/unixODBC-2.0.6"
+
+src_compile() {
+ ruby extconf.rb
+ emake
+ if use unicode ; then
+ ruby -Cutf8 extconf.rb
+ emake -C utf8
+ fi
+}
+
+src_install() {
+ ruby_einstall
+
+ if use unicode ; then
+ ruby_einstall -C utf8
+ fi
+
+ dodoc README
+ dodoc ChangeLog
+ dohtml doc/odbc.html
+}