1 |
commit: c61674d9c5caae248b8ace29253d816ab15fc054 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 12 07:03:21 2015 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 12 07:35:25 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c61674d9 |
7 |
|
8 |
dev-ruby/mecab-ruby: add ruby21, ruby22 |
9 |
|
10 |
Package-Manager: portage-2.2.24 |
11 |
|
12 |
dev-ruby/mecab-ruby/mecab-ruby-0.996-r1.ebuild | 38 ++++++++++++++++++++++++++ |
13 |
1 file changed, 38 insertions(+) |
14 |
|
15 |
diff --git a/dev-ruby/mecab-ruby/mecab-ruby-0.996-r1.ebuild b/dev-ruby/mecab-ruby/mecab-ruby-0.996-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000..d3619d9 |
18 |
--- /dev/null |
19 |
+++ b/dev-ruby/mecab-ruby/mecab-ruby-0.996-r1.ebuild |
20 |
@@ -0,0 +1,38 @@ |
21 |
+# Copyright 1999-2014 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI="5" |
26 |
+ |
27 |
+USE_RUBY="ruby20 ruby21 ruby22" |
28 |
+ |
29 |
+inherit ruby-ng |
30 |
+ |
31 |
+DESCRIPTION="Ruby binding for MeCab" |
32 |
+HOMEPAGE="http://mecab.sourceforge.net/" |
33 |
+SRC_URI="https://mecab.googlecode.com/files/${P}.tar.gz" |
34 |
+ |
35 |
+LICENSE="|| ( BSD LGPL-2.1 GPL-2 )" |
36 |
+SLOT="0" |
37 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
38 |
+IUSE="" |
39 |
+ |
40 |
+DEPEND="~app-text/mecab-${PV}" |
41 |
+RDEPEND="${DEPEND}" |
42 |
+ |
43 |
+each_ruby_configure() { |
44 |
+ ${RUBY} extconf.rb || die |
45 |
+} |
46 |
+ |
47 |
+each_ruby_compile() { |
48 |
+ emake V=1 |
49 |
+} |
50 |
+ |
51 |
+each_ruby_install() { |
52 |
+ emake DESTDIR="${D}" install |
53 |
+} |
54 |
+ |
55 |
+all_ruby_install() { |
56 |
+ dodoc AUTHORS README test.rb |
57 |
+ dohtml bindings.html |
58 |
+} |