summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2013-07-08 05:33:06 +0000
committerHans de Graaff <graaff@gentoo.org>2013-07-08 05:33:06 +0000
commitb7ab833d0b358096577b0aec36806297f84e3c72 (patch)
tree7a1d05b58c1b8aeb07d5020c248b206e0f111da1 /dev-ruby/mecab-ruby
parentBump (diff)
downloadgentoo-2-b7ab833d0b358096577b0aec36806297f84e3c72.tar.gz
gentoo-2-b7ab833d0b358096577b0aec36806297f84e3c72.tar.bz2
gentoo-2-b7ab833d0b358096577b0aec36806297f84e3c72.zip
Version bump. Add ruby20. Document lack of ruby18.
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/mecab-ruby')
-rw-r--r--dev-ruby/mecab-ruby/ChangeLog7
-rw-r--r--dev-ruby/mecab-ruby/mecab-ruby-0.996.ebuild40
2 files changed, 46 insertions, 1 deletions
diff --git a/dev-ruby/mecab-ruby/ChangeLog b/dev-ruby/mecab-ruby/ChangeLog
index 4a85cd085044..44de7cfe679e 100644
--- a/dev-ruby/mecab-ruby/ChangeLog
+++ b/dev-ruby/mecab-ruby/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/mecab-ruby
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mecab-ruby/ChangeLog,v 1.29 2013/01/29 08:14:34 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mecab-ruby/ChangeLog,v 1.30 2013/07/08 05:33:06 graaff Exp $
+
+*mecab-ruby-0.996 (08 Jul 2013)
+
+ 08 Jul 2013; Hans de Graaff <graaff@gentoo.org> +mecab-ruby-0.996.ebuild:
+ Version bump. Add ruby20. Document lack of ruby18.
*mecab-ruby-0.995 (29 Jan 2013)
diff --git a/dev-ruby/mecab-ruby/mecab-ruby-0.996.ebuild b/dev-ruby/mecab-ruby/mecab-ruby-0.996.ebuild
new file mode 100644
index 000000000000..1ba0f20e9bf2
--- /dev/null
+++ b/dev-ruby/mecab-ruby/mecab-ruby-0.996.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mecab-ruby/mecab-ruby-0.996.ebuild,v 1.1 2013/07/08 05:33:06 graaff Exp $
+
+EAPI=5
+
+# ruby18 no longer compiles
+USE_RUBY="ruby19 ruby20"
+
+inherit ruby-ng
+
+IUSE=""
+
+DESCRIPTION="Ruby binding for MeCab"
+HOMEPAGE="http://mecab.sourceforge.net/"
+SRC_URI="http://mecab.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="|| ( BSD LGPL-2.1 GPL-2 )"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+SLOT="0"
+
+DEPEND=">=app-text/mecab-${PV}"
+RDEPEND="${DEPEND}"
+
+each_ruby_configure() {
+ ${RUBY} extconf.rb || die
+}
+
+each_ruby_compile() {
+ emake V=1 || die
+}
+
+each_ruby_install() {
+ emake install DESTDIR="${D}" || die
+}
+
+all_ruby_install() {
+ dodoc AUTHORS README test.rb || die
+ dohtml bindings.html || die
+}