summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/amatch')
-rw-r--r--dev-ruby/amatch/ChangeLog7
-rw-r--r--dev-ruby/amatch/amatch-0.2.8.ebuild34
2 files changed, 40 insertions, 1 deletions
diff --git a/dev-ruby/amatch/ChangeLog b/dev-ruby/amatch/ChangeLog
index 8960a435d1b9..c1bbc3451315 100644
--- a/dev-ruby/amatch/ChangeLog
+++ b/dev-ruby/amatch/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/amatch
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/amatch/ChangeLog,v 1.25 2011/08/28 19:40:48 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/amatch/ChangeLog,v 1.26 2011/10/15 04:38:02 graaff Exp $
+
+*amatch-0.2.8 (15 Oct 2011)
+
+ 15 Oct 2011; Hans de Graaff <graaff@gentoo.org> +amatch-0.2.8.ebuild:
+ Version bump.
28 Aug 2011; Jeroen Roovers <jer@gentoo.org> amatch-0.2.6.ebuild,
amatch-0.2.7.ebuild:
diff --git a/dev-ruby/amatch/amatch-0.2.8.ebuild b/dev-ruby/amatch/amatch-0.2.8.ebuild
new file mode 100644
index 000000000000..af78e27689f8
--- /dev/null
+++ b/dev-ruby/amatch/amatch-0.2.8.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/amatch/amatch-0.2.8.ebuild,v 1.1 2011/10/15 04:38:02 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18 ree18"
+
+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 ~ia64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/spruz-0.2"
+
+each_ruby_configure() {
+ ${RUBY} -Cext extconf.rb || die
+}
+
+each_ruby_compile() {
+ emake -Cext
+ cp ext/amatch$(get_modname) lib/ || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib -S testrb tests/* || die
+}