summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Brown <rbrown@gentoo.org>2007-02-21 19:28:00 +0000
committerRichard Brown <rbrown@gentoo.org>2007-02-21 19:28:00 +0000
commitee3410437be26b029691fed7584d31ecb0c59b93 (patch)
tree02859cb202e88f62fb969696792c4057cf03c57d /dev-ruby
parentTransition to Manifest2. (diff)
downloadgentoo-2-ee3410437be26b029691fed7584d31ecb0c59b93.tar.gz
gentoo-2-ee3410437be26b029691fed7584d31ecb0c59b93.tar.bz2
gentoo-2-ee3410437be26b029691fed7584d31ecb0c59b93.zip
Version bump
(Portage version: 2.1.2-r9)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/mysql-ruby/ChangeLog7
-rw-r--r--dev-ruby/mysql-ruby/files/digest-mysql-ruby-2.7.33
-rw-r--r--dev-ruby/mysql-ruby/mysql-ruby-2.7.3.ebuild47
3 files changed, 56 insertions, 1 deletions
diff --git a/dev-ruby/mysql-ruby/ChangeLog b/dev-ruby/mysql-ruby/ChangeLog
index 3eafd39d3085..5c481d853e7e 100644
--- a/dev-ruby/mysql-ruby/ChangeLog
+++ b/dev-ruby/mysql-ruby/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/mysql-ruby
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql-ruby/ChangeLog,v 1.31 2007/02/04 17:23:58 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql-ruby/ChangeLog,v 1.32 2007/02/21 19:28:00 rbrown Exp $
+
+*mysql-ruby-2.7.3 (21 Feb 2007)
+
+ 21 Feb 2007; Richard Brown <rbrown@gentoo.org> +mysql-ruby-2.7.3.ebuild:
+ Version bump.
04 Feb 2007; Guy Martin <gmsoft@gentoo.org> mysql-ruby-2.7.2.ebuild:
Fixed compilation on hppa.
diff --git a/dev-ruby/mysql-ruby/files/digest-mysql-ruby-2.7.3 b/dev-ruby/mysql-ruby/files/digest-mysql-ruby-2.7.3
new file mode 100644
index 000000000000..c2029632f3e8
--- /dev/null
+++ b/dev-ruby/mysql-ruby/files/digest-mysql-ruby-2.7.3
@@ -0,0 +1,3 @@
+MD5 033b768396dfff8124803c849a34d216 mysql-ruby-2.7.3.tar.gz 30383
+RMD160 8b676f44a1cb14b643dcad6d57660ddbd236d9ea mysql-ruby-2.7.3.tar.gz 30383
+SHA256 abf16d48a6ece40bd5f7a08eb72538e2dcc90ccabbba43a4b4e3ffc178886851 mysql-ruby-2.7.3.tar.gz 30383
diff --git a/dev-ruby/mysql-ruby/mysql-ruby-2.7.3.ebuild b/dev-ruby/mysql-ruby/mysql-ruby-2.7.3.ebuild
new file mode 100644
index 000000000000..9accbd5c07ea
--- /dev/null
+++ b/dev-ruby/mysql-ruby/mysql-ruby-2.7.3.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2007 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.3.ebuild,v 1.1 2007/02/21 19:28:00 rbrown 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="ruby18 ruby19"
+DEPEND="virtual/ruby
+ virtual/mysql"
+
+src_unpack() {
+ unpack ${A}
+ if use hppa; then
+ sed -e 's/LONG_LONG/long long/' -i "${S}"/mysql.c.in
+ fi
+}
+
+src_compile() {
+ ruby extconf.rb || die
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+
+ dohtml *
+}
+
+src_test() {
+ elog
+ elog "To test the programme you need to start mysql first."
+ elog "Then extract the tarball and run"
+ elog
+ elog " % ruby test.rb hostname user password"
+ elog
+ elog "See /usr/share/doc/${PF}/html/README.html for detail."
+ elog
+}