summaryrefslogtreecommitdiff
path: root/dev-ruby/mecab-ruby
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-ruby/mecab-ruby
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ruby/mecab-ruby')
-rw-r--r--dev-ruby/mecab-ruby/Manifest3
-rw-r--r--dev-ruby/mecab-ruby/mecab-ruby-0.996-r1.ebuild37
-rw-r--r--dev-ruby/mecab-ruby/metadata.xml12
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-ruby/mecab-ruby/Manifest b/dev-ruby/mecab-ruby/Manifest
new file mode 100644
index 000000000000..ffc5043f01d7
--- /dev/null
+++ b/dev-ruby/mecab-ruby/Manifest
@@ -0,0 +1,3 @@
+DIST mecab-ruby-0.996.tar.gz 48723 BLAKE2B 205cb2764327ed9e377bc94d65711555683bfce55e87b7a2cc4a985df5078b598c932fff23aaca889040295b96ebf59b0acbcfb638e42f71c6ed338a2b9a6e37 SHA512 a6beb9992d441118e4d824a7c8378bc1bd86d232a843e2327ab43cac0e0b1bf65c17f27ca8787f336c21796c77f4e8c350813e1ee84f7938654d1dcba876b4db
+EBUILD mecab-ruby-0.996-r1.ebuild 668 BLAKE2B 4504d4fede24d1881f00586f863ec2b89148c48d0a40c2579fcbf9faf9ce660e00d3450ae98ddfb1843d93e393b3525550a2fc0f07b836047f98a5e540a9ed7c SHA512 6a94cff7fff6b7fecde8fd64757c2d302724bda98f4d382a79ae25853040077b84dd028a8d3dc5c66d5a7de28b1744a68d96040cf6f71007818ca6eb05044baa
+MISC metadata.xml 359 BLAKE2B de31f469c45b9e95fd1cb0ae1d255977d78a8c96ca3bdea624eac82653e390f89972f2e680ea27a46d49909e185da8f70b51f7471974c7ad3f2947a425481da7 SHA512 26564a01d9ab28904670979d1961ab53dff53842e73ddb00f7d28f40c63ee0550daa6d48e44ea7e8a9ba04fe6852f61fae99612f111c0aef96d7422b21818c87
diff --git a/dev-ruby/mecab-ruby/mecab-ruby-0.996-r1.ebuild b/dev-ruby/mecab-ruby/mecab-ruby-0.996-r1.ebuild
new file mode 100644
index 000000000000..dcaa73a9d32d
--- /dev/null
+++ b/dev-ruby/mecab-ruby/mecab-ruby-0.996-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+USE_RUBY="ruby22 ruby23 ruby24 ruby25"
+
+inherit ruby-ng
+
+DESCRIPTION="Ruby binding for MeCab"
+HOMEPAGE="http://mecab.sourceforge.net/"
+SRC_URI="https://mecab.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="|| ( BSD LGPL-2.1 GPL-2 )"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86"
+IUSE=""
+
+DEPEND="~app-text/mecab-${PV}"
+RDEPEND="${DEPEND}"
+
+each_ruby_configure() {
+ ${RUBY} extconf.rb || die
+}
+
+each_ruby_compile() {
+ emake V=1
+}
+
+each_ruby_install() {
+ emake DESTDIR="${D}" install
+}
+
+all_ruby_install() {
+ dodoc AUTHORS README test.rb
+ dohtml bindings.html
+}
diff --git a/dev-ruby/mecab-ruby/metadata.xml b/dev-ruby/mecab-ruby/metadata.xml
new file mode 100644
index 000000000000..367494a8fef2
--- /dev/null
+++ b/dev-ruby/mecab-ruby/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>cjk@gentoo.org</email>
+ <name>Cjk</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="google-code">mecab</remote-id>
+ <remote-id type="sourceforge">mecab</remote-id>
+ </upstream>
+</pkgmetadata>