summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2005-09-23 04:25:57 +0000
committerCaleb Tennis <caleb@gentoo.org>2005-09-23 04:25:57 +0000
commitf7af7d058d9a299a270e32b33d1374777ae46427 (patch)
treea5a41627be4fffa177d4f987cedb67ed37485776 /dev-ruby/mysql-ruby/mysql-ruby-2.7.ebuild
parentVersion bumped. Marked 6.5 as stable on x86. (diff)
downloadgentoo-2-f7af7d058d9a299a270e32b33d1374777ae46427.tar.gz
gentoo-2-f7af7d058d9a299a270e32b33d1374777ae46427.tar.bz2
gentoo-2-f7af7d058d9a299a270e32b33d1374777ae46427.zip
Version bump
(Portage version: 2.0.52-r1)
Diffstat (limited to 'dev-ruby/mysql-ruby/mysql-ruby-2.7.ebuild')
-rw-r--r--dev-ruby/mysql-ruby/mysql-ruby-2.7.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/mysql-ruby/mysql-ruby-2.7.ebuild b/dev-ruby/mysql-ruby/mysql-ruby-2.7.ebuild
new file mode 100644
index 000000000000..6feca5a6584c
--- /dev/null
+++ b/dev-ruby/mysql-ruby/mysql-ruby-2.7.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql-ruby/mysql-ruby-2.7.ebuild,v 1.1 2005/09/23 04:25:57 caleb Exp $
+
+inherit ruby
+
+DESCRIPTION="A Ruby extension library to use MySQL"
+HOMEPAGE="http://www.tmtm.org/en/mysql/ruby/"
+SRC_URI="http://www.tmtm.org/downloads/mysql/ruby/${P}.tar.gz"
+
+LICENSE="Ruby"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86"
+IUSE=""
+
+USE_RUBY="ruby16 ruby18 ruby19"
+DEPEND="virtual/ruby
+ >=dev-db/mysql-3.23.58"
+
+src_compile() {
+ ruby extconf.rb || die
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+
+ dohtml *
+}
+
+src_test() {
+ einfo
+ einfo "To test the programme you need to start mysql first."
+ einfo "Then extract the tarball and run"
+ einfo
+ einfo " % ruby test.rb hostname user password"
+ einfo
+ einfo "See /usr/share/doc/${PF}/html/README.html for detail."
+ einfo
+}