diff options
Diffstat (limited to 'dev-ruby/amatch')
-rw-r--r-- | dev-ruby/amatch/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/amatch/amatch-0.3.0.ebuild | 34 | ||||
-rw-r--r-- | dev-ruby/amatch/metadata.xml | 5 |
3 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/amatch/Manifest b/dev-ruby/amatch/Manifest new file mode 100644 index 000000000000..3691718d105c --- /dev/null +++ b/dev-ruby/amatch/Manifest @@ -0,0 +1 @@ +DIST amatch-0.3.0.gem 28672 SHA256 669bac06769ab21d2fbd87839b5aa1b1d9e0eb39971b4404fe88de103685f45d SHA512 5ae598c90bb4252813be01570f3e057840133926c7736fad1ed9ec4fa8278e3e672ce466f79025f79b2f60a0842f7b294a748a5e0a29ceb0ddc72a55ba80673c WHIRLPOOL 773cd356b88a927dc0efbe4272d1a8bcbdb6005110672ad12a38bc6d468a6830d6a90b66266be8f87e4fc3d750645ca00d0f457f9ab8f793e039ab951ec4a290 diff --git a/dev-ruby/amatch/amatch-0.3.0.ebuild b/dev-ruby/amatch/amatch-0.3.0.ebuild new file mode 100644 index 000000000000..14cf09a4e747 --- /dev/null +++ b/dev-ruby/amatch/amatch-0.3.0.ebuild @@ -0,0 +1,34 @@ +# 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_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGES README.rdoc" + +inherit multilib ruby-fakegem + +DESCRIPTION="Approximate Matching Extension for Ruby" +HOMEPAGE="http://flori.github.com/amatch/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/tins-0.3" + +each_ruby_configure() { + ${RUBY} -Cext extconf.rb || die +} + +each_ruby_compile() { + emake -Cext V=1 + cp ext/amatch_ext$(get_modname) lib/ || die +} + +each_ruby_test() { + ${RUBY} -Ilib -S testrb tests/* || die +} diff --git a/dev-ruby/amatch/metadata.xml b/dev-ruby/amatch/metadata.xml new file mode 100644 index 000000000000..852136183369 --- /dev/null +++ b/dev-ruby/amatch/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>ruby</herd> +</pkgmetadata> |