summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-09-02 00:34:08 +0000
committerMamoru Komachi <usata@gentoo.org>2004-09-02 00:34:08 +0000
commitbf3418167801055e908271882651ececb547ad4e (patch)
treeda100695d4cfb7197f8fe63e3364944d33da2120 /dev-ruby/mysql-ruby/mysql-ruby-2.5.ebuild
parentnew beta release (Manifest recommit) (diff)
downloadgentoo-2-bf3418167801055e908271882651ececb547ad4e.tar.gz
gentoo-2-bf3418167801055e908271882651ececb547ad4e.tar.bz2
gentoo-2-bf3418167801055e908271882651ececb547ad4e.zip
Version bumped.
Diffstat (limited to 'dev-ruby/mysql-ruby/mysql-ruby-2.5.ebuild')
-rw-r--r--dev-ruby/mysql-ruby/mysql-ruby-2.5.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/mysql-ruby/mysql-ruby-2.5.ebuild b/dev-ruby/mysql-ruby/mysql-ruby-2.5.ebuild
new file mode 100644
index 000000000000..68fc6a9b9c1c
--- /dev/null
+++ b/dev-ruby/mysql-ruby/mysql-ruby-2.5.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2004 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.5.ebuild,v 1.1 2004/09/02 00:34:08 usata 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/en/mysql/ruby/${P}.tar.gz"
+
+LICENSE="Ruby"
+SLOT="0"
+KEYWORDS="~alpha ~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
+}