diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2013-08-20 00:22:19 +0000 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2013-08-20 00:22:19 +0000 |
commit | 62b34844324db0612732e559e8ab203ced2cead0 (patch) | |
tree | 8b7d84baec90de0d71f5ab26d527bd102f8c575c /dev-ruby/fast-stemmer | |
parent | Initial version (diff) | |
download | gentoo-2-62b34844324db0612732e559e8ab203ced2cead0.tar.gz gentoo-2-62b34844324db0612732e559e8ab203ced2cead0.tar.bz2 gentoo-2-62b34844324db0612732e559e8ab203ced2cead0.zip |
Initial version.
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-ruby/fast-stemmer')
-rw-r--r-- | dev-ruby/fast-stemmer/ChangeLog | 9 | ||||
-rw-r--r-- | dev-ruby/fast-stemmer/fast-stemmer-1.0.2.ebuild | 36 | ||||
-rw-r--r-- | dev-ruby/fast-stemmer/metadata.xml | 5 |
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-ruby/fast-stemmer/ChangeLog b/dev-ruby/fast-stemmer/ChangeLog new file mode 100644 index 000000000000..3e46c61c821b --- /dev/null +++ b/dev-ruby/fast-stemmer/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-ruby/fast-stemmer +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fast-stemmer/ChangeLog,v 1.1 2013/08/20 00:22:19 mrueg Exp $ + +*fast-stemmer-1.0.2 (20 Aug 2013) + + 20 Aug 2013; Manuel Rüger <mrueg@gentoo.org> +fast-stemmer-1.0.2.ebuild, + +metadata.xml: + Initial version. diff --git a/dev-ruby/fast-stemmer/fast-stemmer-1.0.2.ebuild b/dev-ruby/fast-stemmer/fast-stemmer-1.0.2.ebuild new file mode 100644 index 000000000000..174ddf6e21f0 --- /dev/null +++ b/dev-ruby/fast-stemmer/fast-stemmer-1.0.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fast-stemmer/fast-stemmer-1.0.2.ebuild,v 1.1 2013/08/20 00:22:19 mrueg Exp $ + +EAPI=5 +USE_RUBY="ruby18 ruby19" + +RUBY_FAKEGEM_TASK_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README" + +inherit multilib ruby-fakegem + +DESCRIPTION="Simple wrapper around multithreaded Porter stemming algorithm" +HOMEPAGE="https://github.com/romanbsd/fast-stemmer" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + rm ext/Makefile || die +} + +each_ruby_configure() { + ${RUBY} -Cext extconf.rb || die +} + +each_ruby_compile() { + emake -Cext + cp ext/stemmer$(get_modname) lib/ || die +} + +each_ruby_test() { + ${RUBY} -Ilib -S testrb test/fast_stemmer_test.rb || die +} diff --git a/dev-ruby/fast-stemmer/metadata.xml b/dev-ruby/fast-stemmer/metadata.xml new file mode 100644 index 000000000000..852136183369 --- /dev/null +++ b/dev-ruby/fast-stemmer/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> |