summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/mysql2')
-rw-r--r--dev-ruby/mysql2/Manifest1
-rw-r--r--dev-ruby/mysql2/mysql2-0.4.10.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/mysql2/Manifest b/dev-ruby/mysql2/Manifest
index 9c51c460c8fc..f03e9587b058 100644
--- a/dev-ruby/mysql2/Manifest
+++ b/dev-ruby/mysql2/Manifest
@@ -1,3 +1,4 @@
DIST mysql2-0.3.21.gem 52736 SHA256 a57073880bd81e4962be109d56226a8f397f70fc91198b65f9d5826106aae36a SHA512 782b7c13b4956ff9cb66b14701546b8da69ba5dbae8a7fbab6b8a083c7f3c2a15e590fe075f41d4ab85a68bf68963204fc2ab0f4a4f768ce41c822af1063317c WHIRLPOOL b729cb476ac5e1e5a13d4e640b4648b3a420eda5176bbe474513be3111878ad14f853ab1fb78dfc181f23e7cc863a7294476ca1003a6055f9590fb1998b6b635
+DIST mysql2-0.4.10.gem 97792 SHA256 38960c148f7b9f7b0f6513c92217b5961396a5f162c1ac1b55890365f8494d62 SHA512 1f9c8eb1b120cfc940b3aa26b2dff54735ccdf54fd6e6745e347179d29803b4a4d1f3b80a86f92dd534089f625ffcd6055458f27aaefebe58f8332890a842b43 WHIRLPOOL 22eddb949879f37ccd0bc8bacabc4460cb35c4980531c9fc76acba2b63fc4e351942190e252e74560a2f0c10fe8e65fb0baeaf5657e56ffc51394d24a7b25a8c
DIST mysql2-0.4.8.gem 77312 SHA256 a2042371c6bdda5351f0cc4cfd96adad04856207173ab3fd8fdc333c349c26ed SHA512 f40ba8fdc49365eb6c7e903d20e518c5548e11878ffa00f254f4d5b2b5590fa1b042eb37b6395841326b0ec49cfd94df0565a90312a591c511079e0f57367496 WHIRLPOOL c70549a8e3f5882e8307f9cac93bdb9bb6151fed61f57f5c7c29072fc8ab050730a89ff0381f148f577118b0c2e802696c69b28b44562364303e0950fd095e49
DIST mysql2-0.4.9.gem 77312 SHA256 8af8b3d3b5aa33d8a686a1caa1f8acd9298cbeb40b09f8c2475a6ecf90b1a622 SHA512 3f1fea453bc5d5f81ff72c2d7fe4811241db9eb34baf17256f45d44edbb4d3dc990b1eb800ebd99583e7bd8f887ecc255a5dfe78247bec41e91285897b4e5247 WHIRLPOOL 3e04820a15197368a17cbf5ecc47534a33cbdc9b3a4b5e0c5993e2c339e59d7dd667056339d23137958f57ae3f8d847c84fcbb352fcbb9c6d6528c7704ed9fb0
diff --git a/dev-ruby/mysql2/mysql2-0.4.10.ebuild b/dev-ruby/mysql2/mysql2-0.4.10.ebuild
new file mode 100644
index 000000000000..ce40d52bb3ba
--- /dev/null
+++ b/dev-ruby/mysql2/mysql2-0.4.10.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby22 ruby23 ruby24"
+
+# Tests require a live MySQL database but should all pass.
+RUBY_FAKEGEM_TASK_TEST=""
+
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_EXTRADOC="README.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.4"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+DEPEND="${DEPEND} virtual/libmysqlclient"
+RDEPEND="${RDEPEND} virtual/libmysqlclient:="
+
+each_ruby_configure() {
+ ${RUBY} -Cext/mysql2 extconf.rb --with-mysql-config "${EPREFIX}/usr/bin/mysqlconfig" || die
+}
+
+each_ruby_compile() {
+ emake V=1 -Cext/mysql2
+ cp ext/mysql2/mysql2$(get_modname) lib/mysql2/ || die
+}