diff options
author | Hans de Graaff <graaff@gentoo.org> | 2011-12-08 17:24:45 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2011-12-08 17:24:45 +0000 |
commit | bac4fdfb3bdf800c810d555ab40503e04d1e7af8 (patch) | |
tree | 6ca439ee2e710c6f80a40b565ff6b7a1246dff5c /dev-ruby | |
parent | Update HOMEPAGE (bug #388133). (diff) | |
download | gentoo-2-bac4fdfb3bdf800c810d555ab40503e04d1e7af8.tar.gz gentoo-2-bac4fdfb3bdf800c810d555ab40503e04d1e7af8.tar.bz2 gentoo-2-bac4fdfb3bdf800c810d555ab40503e04d1e7af8.zip |
Version bump.
(Portage version: 2.1.10.11/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/mysql2/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/mysql2/mysql2-0.2.18.ebuild | 35 |
2 files changed, 41 insertions, 1 deletions
diff --git a/dev-ruby/mysql2/ChangeLog b/dev-ruby/mysql2/ChangeLog index d6d18cbe83f5..ab2fd90f6c0e 100644 --- a/dev-ruby/mysql2/ChangeLog +++ b/dev-ruby/mysql2/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/mysql2 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql2/ChangeLog,v 1.12 2011/11/22 14:58:57 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql2/ChangeLog,v 1.13 2011/12/08 17:24:45 graaff Exp $ + +*mysql2-0.2.18 (08 Dec 2011) + + 08 Dec 2011; Hans de Graaff <graaff@gentoo.org> +mysql2-0.2.18.ebuild: + Version bump. *mysql2-0.2.17 (22 Nov 2011) diff --git a/dev-ruby/mysql2/mysql2-0.2.18.ebuild b/dev-ruby/mysql2/mysql2-0.2.18.ebuild new file mode 100644 index 000000000000..9ae88dd073d4 --- /dev/null +++ b/dev-ruby/mysql2/mysql2-0.2.18.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql2/mysql2-0.2.18.ebuild,v 1.1 2011/12/08 17:24:45 graaff Exp $ + +EAPI="3" +USE_RUBY="ruby18 ruby19 ree18" + +# Tests require a live MySQL database. +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" + +inherit multilib ruby-fakegem + +DESCRIPTION="A modern, simple and very fast Mysql library for Ruby - binding to libmysql." +HOMEPAGE="https://github.com/brianmario/mysql2" + +LICENSE="MIT" +SLOT="0.2" +KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +DEPEND="${DEPEND} virtual/mysql[-static]" +RDEPEND="${RDEPEND} virtual/mysql[-static]" + +each_ruby_configure() { + ${RUBY} -Cext/mysql2 extconf.rb --with-mysql-config "${EPREFIX}/usr/bin/mysqlconfig" || die +} + +each_ruby_compile() { + emake -Cext/mysql2 || die + cp ext/mysql2/mysql2$(get_modname) lib/mysql2/ || die +} |