summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2013-04-11 05:35:35 +0000
committerHans de Graaff <graaff@gentoo.org>2013-04-11 05:35:35 +0000
commitbeb6ba4413c0fb999e327d76a8b708d1dc171cfb (patch)
treeae3c3f40d6e8d7cc51f5ea1480933782eb854746 /dev-ruby/mysql-ruby
parentFixed patch command (diff)
downloadgentoo-2-beb6ba4413c0fb999e327d76a8b708d1dc171cfb.tar.gz
gentoo-2-beb6ba4413c0fb999e327d76a8b708d1dc171cfb.tar.bz2
gentoo-2-beb6ba4413c0fb999e327d76a8b708d1dc171cfb.zip
Version bump.
(Portage version: 2.1.11.55/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/mysql-ruby')
-rw-r--r--dev-ruby/mysql-ruby/ChangeLog9
-rw-r--r--dev-ruby/mysql-ruby/mysql-ruby-2.9.1.ebuild41
2 files changed, 48 insertions, 2 deletions
diff --git a/dev-ruby/mysql-ruby/ChangeLog b/dev-ruby/mysql-ruby/ChangeLog
index 6c8ddd998e0e..6811efcb9749 100644
--- a/dev-ruby/mysql-ruby/ChangeLog
+++ b/dev-ruby/mysql-ruby/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/mysql-ruby
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql-ruby/ChangeLog,v 1.104 2012/12/26 08:09:34 graaff Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql-ruby/ChangeLog,v 1.105 2013/04/11 05:35:35 graaff Exp $
+
+*mysql-ruby-2.9.1 (11 Apr 2013)
+
+ 11 Apr 2013; Hans de Graaff <graaff@gentoo.org> +mysql-ruby-2.9.1.ebuild:
+ Version bump.
*mysql-ruby-2.9.0-r1 (26 Dec 2012)
diff --git a/dev-ruby/mysql-ruby/mysql-ruby-2.9.1.ebuild b/dev-ruby/mysql-ruby/mysql-ruby-2.9.1.ebuild
new file mode 100644
index 000000000000..3cbe24f8865a
--- /dev/null
+++ b/dev-ruby/mysql-ruby/mysql-ruby-2.9.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2013 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.9.1.ebuild,v 1.1 2013/04/11 05:35:35 graaff Exp $
+
+EAPI=4
+USE_RUBY="ruby18 ruby19"
+
+RUBY_FAKEGEM_NAME="mysql"
+
+RUBY_FAKEGEM_TASK_TEST=""
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_EXTRADOC="History.txt README.txt"
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="A Ruby extension library to use MySQL"
+HOMEPAGE="http://www.tmtm.org/en/mysql/ruby/"
+
+LICENSE="Ruby"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="test"
+
+DEPEND="virtual/mysql[-static]"
+RDEPEND="${DEPEND}"
+
+TEST_DIR="/usr/share/${PN}/test/"
+
+each_ruby_configure() {
+ ${RUBY} -Cext/mysql_api extconf.rb --with-mysql-config "${EPREFIX}/usr/bin/mysqlconfig" || die
+}
+
+each_ruby_compile() {
+ emake -Cext/mysql_api || die
+ cp ext/mysql_api/mysql_api$(get_modname) lib/mysql/ || die
+}
+
+all_ruby_install() {
+ all_fakegem_install
+}