DIST hitimes-1.2.2.gem 32256 SHA256 c44a808cafedd9a3571a1990668ce1f5f60b7e1ab6bd8b5feaa60edaf17bc39f SHA512 c12ae48444c22b90f7ca264c8a8a80917b605de03832a9ced9a03c442461dfa3f33dd67129ff512ee196af97895491a7f378fff5a26bfa09a8c50cf6feadb9ac WHIRLPOOL 8b7d66ab263fd58b000e29948209795361451fc5721d083fe86291233726616df9ddefa34c82e9b16bc7991859dbfc8b65ebc6c2e12f7e48a2be7f7fdc282f79
+DIST hitimes-1.2.3.gem 31744 SHA256 644f56f7646a234d74c2b0bc08a8d5bd714b9bf494b604bab54b1473beca29bb SHA512 42b922d098dd2f5c6e4c698d9bb34e7b25ac94d36f339b29abea3c99c1be80ee0d31994ad39152bc914ea5d8bf5d92e5f506f8fba6d6d795b8febf7b03381566 WHIRLPOOL da8b7f326d7bbc45759e725d841e925cf66731aee86b5ade7c8e5a4cbdedf68001452b0105a0d4063e96d2bbc974876637a6e1326a66b7668d8a74cc8e97e162
--- /dev/null
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.md HISTORY.md"
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="A fast, high resolution timer library"
+HOMEPAGE="https://github.com/copiousfreetime/hitimes"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+all_ruby_prepare() {
+ sed -i -e "/RUBY_VERSION >= '1.9.2'/,+4d" spec/spec_helper.rb || die
+}
+
+each_ruby_configure() {
+ ${RUBY} -Cext/hitimes/c extconf.rb || die
+}
+
+each_ruby_compile() {
+ emake -Cext/hitimes/c V=1
+ cp ext/hitimes/c/hitimes$(get_modname) lib/hitimes || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:spec:. -e 'Dir["spec/*_spec.rb"].each{|f| require f}' || die
+}