diff options
author | Nguyen Thai Ngoc Duy <pclouds@gentoo.org> | 2006-12-07 15:58:51 +0000 |
---|---|---|
committer | Nguyen Thai Ngoc Duy <pclouds@gentoo.org> | 2006-12-07 15:58:51 +0000 |
commit | 33d6c31b1d6b52c8c1861f525a8b040182b7d07e (patch) | |
tree | 7e934d4f7c644b636843600a84abc0b23d7faa2f /dev-ruby/mysql-ruby/mysql-ruby-2.7.2.ebuild | |
parent | New upstream version. (diff) | |
download | gentoo-2-33d6c31b1d6b52c8c1861f525a8b040182b7d07e.tar.gz gentoo-2-33d6c31b1d6b52c8c1861f525a8b040182b7d07e.tar.bz2 gentoo-2-33d6c31b1d6b52c8c1861f525a8b040182b7d07e.zip |
Version bump. Ebuild provided by Jimmy.Jazz@gmx.net, #157366
(Portage version: 2.1.1)
Diffstat (limited to 'dev-ruby/mysql-ruby/mysql-ruby-2.7.2.ebuild')
-rw-r--r-- | dev-ruby/mysql-ruby/mysql-ruby-2.7.2.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/mysql-ruby/mysql-ruby-2.7.2.ebuild b/dev-ruby/mysql-ruby/mysql-ruby-2.7.2.ebuild new file mode 100644 index 000000000000..25bf73fa49ca --- /dev/null +++ b/dev-ruby/mysql-ruby/mysql-ruby-2.7.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2006 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.2.ebuild,v 1.1 2006/12/07 15:58:51 pclouds 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 ia64 mips ppc sparc x86" +IUSE="" + +USE_RUBY="ruby16 ruby18 ruby19" +DEPEND="virtual/ruby + virtual/mysql" + +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 +} |