summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/mecab')
-rw-r--r--app-text/mecab/ChangeLog5
-rw-r--r--app-text/mecab/files/digest-mecab-0.806
-rw-r--r--app-text/mecab/mecab-0.80.ebuild39
3 files changed, 49 insertions, 1 deletions
diff --git a/app-text/mecab/ChangeLog b/app-text/mecab/ChangeLog
index 1df725505e88..8eab924fb6a6 100644
--- a/app-text/mecab/ChangeLog
+++ b/app-text/mecab/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-text/mecab
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/mecab/ChangeLog,v 1.38 2007/07/11 13:10:09 hattya Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/mecab/ChangeLog,v 1.39 2007/07/13 17:33:38 mr_bones_ Exp $
+
+ 13 Jul 2007; Michael Sterrett <mr_bones_@gentoo.org> +mecab-0.80.ebuild:
+ restore ebuild still in use
*mecab-0.96 (11 Jul 2007)
diff --git a/app-text/mecab/files/digest-mecab-0.80 b/app-text/mecab/files/digest-mecab-0.80
new file mode 100644
index 000000000000..7193fbad50d9
--- /dev/null
+++ b/app-text/mecab/files/digest-mecab-0.80
@@ -0,0 +1,6 @@
+MD5 18c37ad9d02aa79e9f9ce752ee4ecea6 ipadic-2.5.1.tar.gz 4212891
+RMD160 0b63ecf4650ac067e16b7aa29d9f449454c4bbf8 ipadic-2.5.1.tar.gz 4212891
+SHA256 0bff8ca355329dfc5f9587963cc6035144582764b4478a1d1319a4d582b2ebc2 ipadic-2.5.1.tar.gz 4212891
+MD5 d7d49fbbf431ebec233342a1882798b9 mecab-0.80.tar.gz 345131
+RMD160 4c11cc5e4d94e0b0a3f3ae7725c451e580fac4ea mecab-0.80.tar.gz 345131
+SHA256 66632f96b312fa0886c9bfd55312709d50634f5c104cefe0333ace2b27f5cf7b mecab-0.80.tar.gz 345131
diff --git a/app-text/mecab/mecab-0.80.ebuild b/app-text/mecab/mecab-0.80.ebuild
new file mode 100644
index 000000000000..ade9fd29097b
--- /dev/null
+++ b/app-text/mecab/mecab-0.80.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/mecab/mecab-0.80.ebuild,v 1.11 2007/07/13 17:33:38 mr_bones_ Exp $
+
+# need one of ipadic-2.4.4/2.5.0/2.5.1
+MY_IPADIC="ipadic-2.5.1"
+
+DESCRIPTION="Yet Another Part-of-Speech and Morphological Analyzer"
+HOMEPAGE="http://chasen.org/~taku/software/mecab/"
+SRC_URI="http://chasen.org/~taku/software/mecab/src/${P}.tar.gz
+ http://chasen.naist.jp/stable/ipadic/${MY_IPADIC}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 sparc x86"
+IUSE="unicode"
+
+DEPEND="dev-lang/perl"
+RDEPEND=""
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ cd ${S}/dic
+ unpack ${MY_IPADIC}.tar.gz
+}
+
+src_compile() {
+ local myconf
+
+ use unicode && myconf="${myconf} --with-charset=utf8"
+
+ econf ${myconf} || die
+ make || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ dodoc AUTHORS ChangeLog INSTALL NEWS README
+}