summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyen Thai Ngoc Duy <pclouds@gentoo.org>2006-10-06 05:17:04 +0000
committerNguyen Thai Ngoc Duy <pclouds@gentoo.org>2006-10-06 05:17:04 +0000
commit98cdebbe34de7079767b9977e3556debe6d52744 (patch)
treefc7e2a6388cb969c876ceda94d27007e857f844b /dev-ruby/ruby-dbi
parentInitial ebuild by Richard Brown <mynamewasgone@gmail.com> and Josip Dzolonga ... (diff)
downloadhistorical-98cdebbe34de7079767b9977e3556debe6d52744.tar.gz
historical-98cdebbe34de7079767b9977e3556debe6d52744.tar.bz2
historical-98cdebbe34de7079767b9977e3556debe6d52744.zip
Version bump by Richard Brown <mynamewasgone@gmail.com>, #150146. Removed old ebuilds
Package-Manager: portage-2.1.1
Diffstat (limited to 'dev-ruby/ruby-dbi')
-rw-r--r--dev-ruby/ruby-dbi/ChangeLog10
-rw-r--r--dev-ruby/ruby-dbi/files/digest-ruby-dbi-0.1.13
-rw-r--r--dev-ruby/ruby-dbi/files/ruby-dbi-0.1.1-destdir-gentoo.diff21
-rw-r--r--dev-ruby/ruby-dbi/ruby-dbi-0.1.1.ebuild46
4 files changed, 79 insertions, 1 deletions
diff --git a/dev-ruby/ruby-dbi/ChangeLog b/dev-ruby/ruby-dbi/ChangeLog
index ca0838d56b36..dd447726d115 100644
--- a/dev-ruby/ruby-dbi/ChangeLog
+++ b/dev-ruby/ruby-dbi/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-ruby/ruby-dbi
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-dbi/ChangeLog,v 1.16 2006/08/08 03:51:08 metalgod Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-dbi/ChangeLog,v 1.17 2006/10/06 05:17:03 pclouds Exp $
+
+*ruby-dbi-0.1.1 (06 Oct 2006)
+
+ 06 Oct 2006; Nguyễn Thái Ngọc Duy <pclouds@gentoo.org>
+ +files/ruby-dbi-0.1.1-destdir-gentoo.diff, -ruby-dbi-0.0.21.ebuild,
+ -ruby-dbi-0.0.21-r1.ebuild, +ruby-dbi-0.1.1.ebuild:
+ Version bump by Richard Brown <mynamewasgone@gmail.com>, #150146. Removed
+ old ebuilds
08 Aug 2006; Luis Medinas <metalgod@gentoo.org> ruby-dbi-0.0.21-r2.ebuild:
Added ~amd64 keyword.
diff --git a/dev-ruby/ruby-dbi/files/digest-ruby-dbi-0.1.1 b/dev-ruby/ruby-dbi/files/digest-ruby-dbi-0.1.1
new file mode 100644
index 000000000000..4982b232a444
--- /dev/null
+++ b/dev-ruby/ruby-dbi/files/digest-ruby-dbi-0.1.1
@@ -0,0 +1,3 @@
+MD5 1077f898080bb0af1098ee4b5b54f8d1 dbi-0.1.1.tar.gz 155533
+RMD160 8b2d63cdfddf0244a36d8bb0574a257dc46faaad dbi-0.1.1.tar.gz 155533
+SHA256 f45a301a81dbc86aa3202f0f0b6eb63e4a3fdd0b622605135575a2000d581b0f dbi-0.1.1.tar.gz 155533
diff --git a/dev-ruby/ruby-dbi/files/ruby-dbi-0.1.1-destdir-gentoo.diff b/dev-ruby/ruby-dbi/files/ruby-dbi-0.1.1-destdir-gentoo.diff
new file mode 100644
index 000000000000..447ec75dc4dd
--- /dev/null
+++ b/dev-ruby/ruby-dbi/files/ruby-dbi-0.1.1-destdir-gentoo.diff
@@ -0,0 +1,21 @@
+diff -ur ruby-dbi-orig/setup.rb ruby-dbi/setup.rb
+--- ruby-dbi-orig/setup.rb 2006-10-02 11:23:00.000000000 +0100
++++ ruby-dbi/setup.rb 2006-10-04 23:22:22.000000000 +0100
+@@ -269,14 +269,14 @@
+ isdir( File.join( @config['rb-dir'], 'DBD', capname ) )
+ install(
+ basefile,
+- File.join( @config['rb-dir'], 'DBD', capname, basefile ),
++ File.join( ENV['DESTDIR'], @config['rb-dir'], 'DBD', capname, basefile ),
+ 0644
+ )
+ end
+ end
+ }
+ into_dir( 'dbi' ) { install_rb 'dbi' }
+- install( 'dbi.rb', @config['rb-dir'], 0644 )
++ install( 'dbi.rb', File.join( ENV['DESTDIR'], @config['rb-dir']), 0644 )
+ }
+ into_dir( 'ext' ) {
+ foreach_package do |targ, *dummy|
+Only in ruby-dbi: .setup.rb.swp
diff --git a/dev-ruby/ruby-dbi/ruby-dbi-0.1.1.ebuild b/dev-ruby/ruby-dbi/ruby-dbi-0.1.1.ebuild
new file mode 100644
index 000000000000..e6242e4e615c
--- /dev/null
+++ b/dev-ruby/ruby-dbi/ruby-dbi-0.1.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-dbi/ruby-dbi-0.1.1.ebuild,v 1.1 2006/10/06 05:17:03 pclouds Exp $
+
+inherit ruby
+
+DESCRIPTION="Ruby/DBI - a database independent interface for accessing databases - similar to Perl's DBI"
+HOMEPAGE="http://ruby-dbi.rubyforge.org"
+SRC_URI="http://rubyforge.org/frs/download.php/12368/dbi-${PV}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+USE_RUBY="ruby18 ruby19"
+IUSE="firebird odbc postgres mysql sqlite"
+
+DEPEND="virtual/ruby
+ mysql? ( dev-ruby/mysql-ruby )
+ postgres? ( dev-ruby/ruby-postgres )
+ firebird? ( >=dev-db/firebird-1.0-r1 )
+ odbc? ( dev-ruby/ruby-odbc )
+ sqlite? ( =dev-db/sqlite-2* )"
+
+S=${WORKDIR}/ruby-dbi
+PATCHES="${FILESDIR}/ruby-dbi-destdir-gentoo.diff
+ ${FILESDIR}/ruby-dbi-0.1.1-destdir-gentoo.diff"
+
+src_compile() {
+ myconf="dbi,dbd_proxy,dbd_sqlrelay"
+ use mysql && myconf="${myconf},dbd_mysql"
+ use postgres && myconf="${myconf},dbd_pg"
+ use firebird && myconf="${myconf},dbd_interbase"
+ use odbc && myconf="${myconf},dbd_odbc"
+ use sqlite && myconf="${myconf},dbd_sqlite"
+
+ ruby setup.rb config \
+ --with=${myconf} --ruby-path=/usr/bin/ruby || die
+ ruby setup.rb setup || die
+}
+
+src_install() {
+
+ DESTDIR=${D} ruby setup.rb install || die
+
+ dodoc LICENSE README
+}