diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-text/mecab |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-text/mecab')
-rw-r--r-- | app-text/mecab/Manifest | 6 | ||||
-rw-r--r-- | app-text/mecab/files/mecab-0.98-iconv.patch | 10 | ||||
-rw-r--r-- | app-text/mecab/mecab-0.996.ebuild | 46 | ||||
-rw-r--r-- | app-text/mecab/metadata.xml | 12 |
4 files changed, 74 insertions, 0 deletions
diff --git a/app-text/mecab/Manifest b/app-text/mecab/Manifest new file mode 100644 index 000000000000..18ced0f7d5bc --- /dev/null +++ b/app-text/mecab/Manifest @@ -0,0 +1,6 @@ +AUX mecab-0.98-iconv.patch 396 SHA256 03ca106c9c3bf1a9401dd363e017f22b14371d5f8d11e315942951be49de0d1b SHA512 00ff7e2e716ed2617506824af4887a5d3dd088aba8d93b2c07ad8b834b4526678381903db95055aa798223886e10378c0b26ce28757123d5a8e3651fc873260a WHIRLPOOL 962b1e8c1323aec70d0857f48457429a076faa3c765e8b175788e26c493b356ae35054905013a522d958b3019cf0b26b3f4fe8f7f616df4a999e8a71ca42aac9 +DIST mecab-0.996.tar.gz 1398663 SHA256 e073325783135b72e666145c781bb48fada583d5224fb2490fb6c1403ba69c59 SHA512 aca6d16f411b9ba9b6687242246aeb28ede6d6c6a9122d4a32da9d8e76e79b5f4af2c8e3b13ad9462b34e9d2994cbd9bbbedebac45609684db9b703da999577f WHIRLPOOL a21bcc48f61c98a20c299ccbe7ae1c1c39c5502903107906be7c5dfb6fafb60d0768a665cd3005339cd5fa4ff476bfdba53abbdbf114a7e8ccce9835de9b11cb +EBUILD mecab-0.996.ebuild 1008 SHA256 cacb3492d65f0b36fcca93b8f0727ab7292c50b7d0ece9bc955ea489c1637178 SHA512 745dde54ddcb6c12699050d63a060ad33565d7ae94817b14cc38cbac5516eb61922980287fba40c42e39c05b031d67b39c1701e7998bfa8eea81e63e299d8fc7 WHIRLPOOL 09ebb1ea80e66858cfe97e125d9f98c8c59802dda144d0b0b45c6ea3751ddb8cb6dfd55abc08a3dba0ba5303f9cab57e768f6b2d1dcfbc4fe089d14533cd54bd +MISC ChangeLog 3159 SHA256 e5434b403948aac11c032a16d811c188956ddbca5d4526ed55cb841f7f43b9e7 SHA512 76e9fdded828cb346c0d446bce374723a8d340dd42960ccb46f0790a7b05ec03637c5af46034bc35e17928d7a43b53119a32d8c67b10e6945eb827c89f1a841e WHIRLPOOL 917a0b761b7a6ba6d6f951344b0059ccbdb90414f8e5acd9e35ac2fa703d1c75a3bed16f952ff069b3ae89d836aa2306fadc10f561b2671d4d38bd85d4b4f74c +MISC ChangeLog-2015 9567 SHA256 d75dac6271e5d305b19dadac4571842ff7b0ac8ac2b37ee2f9e7ee4fb5582e51 SHA512 22435d4637452da8ba1d44f3fa98358790960b5ed9332799848b46c2fe7dc7241ee4110abf80bfab5b86f7df658fc7119ca3f7786fa79bf8faf96111ad960fe0 WHIRLPOOL 90ce5cd127c1f97c8b5591c9621c12038a1ad7792124ea2fed8edcaee2beae9deaccec7c51cb69376d847718792fde07f31846981b739030a3b2468e96eeaa0d +MISC metadata.xml 359 SHA256 4d36587acbe08a40e836a607cae5579c49e166c1c4d043751f246aaad95a7b86 SHA512 26564a01d9ab28904670979d1961ab53dff53842e73ddb00f7d28f40c63ee0550daa6d48e44ea7e8a9ba04fe6852f61fae99612f111c0aef96d7422b21818c87 WHIRLPOOL ea914aa9d5286f4eeb42a9ab1af6aecfd2bba30ed74f497dd7ca5c3dc13852767044f1d04fece04ad3767a2e3625fbf20f886f08be1adc88dcf7ae23ec208ac7 diff --git a/app-text/mecab/files/mecab-0.98-iconv.patch b/app-text/mecab/files/mecab-0.98-iconv.patch new file mode 100644 index 000000000000..76ead6c38f99 --- /dev/null +++ b/app-text/mecab/files/mecab-0.98-iconv.patch @@ -0,0 +1,10 @@ +--- mecab-0.98/src/Makefile.am.old 2010-05-02 12:39:07.000000000 +0200 ++++ mecab-0.98/src/Makefile.am 2010-05-02 12:39:28.000000000 +0200 +@@ -17,6 +17,7 @@ + feature_index.cpp feature_index.h lbfgs.cpp \ + lbfgs.h learner_tagger.cpp learner_tagger.h learner.cpp \ + learner_node.h libmecab.cpp ++libmecab_la_LIBADD = $(LTLIBICONV) + + include_HEADERS = mecab.h + bin_PROGRAMS = mecab diff --git a/app-text/mecab/mecab-0.996.ebuild b/app-text/mecab/mecab-0.996.ebuild new file mode 100644 index 000000000000..8485aa6743a1 --- /dev/null +++ b/app-text/mecab/mecab-0.996.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit autotools eutils + +DESCRIPTION="Yet Another Part-of-Speech and Morphological Analyzer" +HOMEPAGE="http://mecab.sourceforge.net/" +SRC_URI="https://mecab.googlecode.com/files/${P}.tar.gz" + +LICENSE="|| ( BSD LGPL-2.1 GPL-2 )" +KEYWORDS="amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" +SLOT="0" +IUSE="static-libs unicode" + +DEPEND="dev-lang/perl + virtual/libiconv" +RDEPEND="" +PDEPEND="|| ( + app-dicts/mecab-ipadic[unicode=] + app-dicts/mecab-naist-jdic[unicode=] + )" + +src_prepare() { + sed -i \ + -e "/CFLAGS/s/-O3/${CFLAGS}/" \ + -e "/CXXFLAGS/s/-O3/${CXXFLAGS}/" \ + configure.in || die + epatch "${FILESDIR}/${PN}-0.98-iconv.patch" + eautoreconf +} + +src_configure() { + econf \ + $(use_enable static-libs static) \ + $(use_with unicode charset UTF-8) +} + +src_install() { + default + dodoc AUTHORS README + dohtml -r doc/* + + use static-libs || find "${ED}" -name '*.la' -delete +} diff --git a/app-text/mecab/metadata.xml b/app-text/mecab/metadata.xml new file mode 100644 index 000000000000..367494a8fef2 --- /dev/null +++ b/app-text/mecab/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> |