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-i18n/mecab-skkserv |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-i18n/mecab-skkserv')
-rw-r--r-- | app-i18n/mecab-skkserv/Manifest | 8 | ||||
-rw-r--r-- | app-i18n/mecab-skkserv/files/mecab-skkserv-cflags.patch | 13 | ||||
-rw-r--r-- | app-i18n/mecab-skkserv/files/mecab-skkserv-dicrc.patch | 7 | ||||
-rw-r--r-- | app-i18n/mecab-skkserv/files/mecab-skkserv.xinetd | 11 | ||||
-rw-r--r-- | app-i18n/mecab-skkserv/mecab-skkserv-0.03.ebuild | 39 | ||||
-rw-r--r-- | app-i18n/mecab-skkserv/metadata.xml | 8 |
6 files changed, 86 insertions, 0 deletions
diff --git a/app-i18n/mecab-skkserv/Manifest b/app-i18n/mecab-skkserv/Manifest new file mode 100644 index 000000000000..b96c2b7aad35 --- /dev/null +++ b/app-i18n/mecab-skkserv/Manifest @@ -0,0 +1,8 @@ +AUX mecab-skkserv-cflags.patch 312 SHA256 6df735ae655c613999494f25a1743d671aec22688a9b85489e7c72eb2ec58b6b SHA512 7b3ae93eab4d0a13701c590d7cfd033fb3d34aa085beb59224bcd60823829c87674e0ee8edff2f8d73c204c56be668673e6dabd3ac5f60da34afae927bcc1106 WHIRLPOOL c648f6514cf8d2df893e4f8e7c8acc4ec68ba62c2ac571f5bf04f6c02f7847d3850aba0bbb240c9791fe5bba5a3704f2377fd44fa51d0f2c482f13d6b36ce56c +AUX mecab-skkserv-dicrc.patch 146 SHA256 c8678072bb4ffa8e6fbf498930ac4241e27f3c94e0162b73511bde315a5ede61 SHA512 9c96b2c71e8c06c1a7e12c5c4952a9202d06943aebb1e96b63d00084f77822af657745dbf2c926358739723444a99be86537d638d3eea5728b4392a22471314d WHIRLPOOL e2cbf7c011b3e7ef1aef2fbda79ff059128b92b1bc406550c154b68be65f9305ba130002f567f9f0c803c44c90e2805496a37e52c6b6ca1b6de9b8d2860d2f36 +AUX mecab-skkserv.xinetd 238 SHA256 8ae080ebff39ea572d7139b8add851f8d8180088f199336cf7413adb7d26a766 SHA512 181ab3fb6abe4f4d7555db674881430d6149561459dbaca6fbc5081bfcba2154670e54a383dafd4b3339ed8f412a32d93f3c9024841c3b28c8c00808b5a5f366 WHIRLPOOL cde44628b4e8a23c5183d174dc2e4bb685d5e804288e8b722f0bc66ade8988d1ed2692c97c0e8d181d71313cca3957360ade84a898e8d8d6e3c46d71e307dc31 +DIST mecab-skkserv-0.03.tar.gz 5398452 SHA256 d036402ab37170034ff8ed38b9d25f1bab75170fbda865ac297ccee77570f0da SHA512 268621035391ec780b8aa04980d668afc83410853d25f06b4578dba3d4e3803ebfea42aabde1325fd80edad7524a4658480e40a00c6bfec1f04310a8d47bb2c9 WHIRLPOOL be29e7fa5571dfdca08d8c1dc59260514dda34c29900d541f6cb216a298f3602ad4c6fcaf919af600cac4fb6e79194f0d024664ba186ab5cbc53fd996e252411 +EBUILD mecab-skkserv-0.03.ebuild 760 SHA256 4ad5df7f5f1360d5838ed21611bd4f3a7b1e4a861c50867d562d5bb618262d40 SHA512 08aba49f5541f55b8eb81468e46c5329a9e1de1e130391367440b1a8cf2a9e57128a4e185ea7a6b472b33bf8421e683b2966edb4b30753fda2fb33548be21b57 WHIRLPOOL 51d68a9f224d0bd6dec709c688030c9d353a75333080a56b5ad60d1660d896af91e86a0aaa9317ffd761ed05dec222ab7af68d1e3f96b8d484de749228bcdfcc +MISC ChangeLog 2548 SHA256 528c0b33e555b5deda1f40e01f3a7a52f6b3da952242b33f5fec102b23e3941e SHA512 8f6a833e786e6498ec297ecec87185a6f2ae1d718fcf062108eabbe6f788329074ee59ffbb47fc511f5d06117f0c1581219fc79ff684ea7454c101555ae12130 WHIRLPOOL 308acaacf678d04e16ec46132e5725d4317bfcf1bdfd5bb251791cb94bc86035de2827dd4af5f6d3b4c5d4c9b4e95bdd4675731ce31c2cb19480a9de173c49d0 +MISC ChangeLog-2015 1520 SHA256 c165a7bd0b7d41cf472bbc3575f525791402f20220286553a0cba67854d5933b SHA512 3a7b63b282d209dfce7782f6007a04fac857b7b63db0aaab80d5b25769edfb79736b403d48c42e736808a3996ee1afa0d73ffe434ab180b22087f7b1a499eb04 WHIRLPOOL f671f155897f6eb31ff1ad83efaeade426e57465514309f734396a48c452229f048e2431b5197750e73527cf4996cfeaf967e359e3385e462e610cb65498f422 +MISC metadata.xml 240 SHA256 4351b96b5a18595fae67161f1207f22bbf99e9a2235b95b68975cfc9f5baff54 SHA512 12aaa73d9b690de68a5c7b20e214ceb099efa87884b784eafd994f26032b44dcb66e7feac8a5b1df7f349ac05c5a198a7593dff2cc686de158cb21e4c54f38dd WHIRLPOOL d279940dd88c4b1caa478907576d5732c8376e3f99830950c6c18c63dca78c7d0ec1983660e5cbd4da0133b961ef38dc8460650cb48467298542e04005cffc2c diff --git a/app-i18n/mecab-skkserv/files/mecab-skkserv-cflags.patch b/app-i18n/mecab-skkserv/files/mecab-skkserv-cflags.patch new file mode 100644 index 000000000000..4dcb1abc326e --- /dev/null +++ b/app-i18n/mecab-skkserv/files/mecab-skkserv-cflags.patch @@ -0,0 +1,13 @@ +--- a/configure.in ++++ b/configure.in +@@ -19,8 +19,8 @@ AC_CHECK_FUNCS(getopt) + AC_CHECK_FUNCS(getopt_long) + + if test -n "$GCC"; then +- CFLAGS="-O3 -Wno-deprecated -Wall" +- CXXFLAGS="-O3 -Wno-deprecated -Wall" ++ CFLAGS+=" -Wno-deprecated -Wall" ++ CXXFLAGS+=" -Wno-deprecated -Wall" + fi + + AC_ARG_WITH( diff --git a/app-i18n/mecab-skkserv/files/mecab-skkserv-dicrc.patch b/app-i18n/mecab-skkserv/files/mecab-skkserv-dicrc.patch new file mode 100644 index 000000000000..db7637775a45 --- /dev/null +++ b/app-i18n/mecab-skkserv/files/mecab-skkserv-dicrc.patch @@ -0,0 +1,7 @@ +--- a/dicrc ++++ b/dicrc +@@ -2,3 +2,4 @@ bos-feature = BOS/EOS + node-format-ime = %H + unk-format-ime = %M + eos-format-ime = \n ++cost-factor = 700 diff --git a/app-i18n/mecab-skkserv/files/mecab-skkserv.xinetd b/app-i18n/mecab-skkserv/files/mecab-skkserv.xinetd new file mode 100644 index 000000000000..f5d14c3a6ce3 --- /dev/null +++ b/app-i18n/mecab-skkserv/files/mecab-skkserv.xinetd @@ -0,0 +1,11 @@ +service skkserv +{ + disable = yes + socket_type = stream + wait = no + user = nobody + server = /usr/bin/mecab-skkserv + only_from = 127.0.0.1 + log_on_failure += USERID + port = 1178 +} diff --git a/app-i18n/mecab-skkserv/mecab-skkserv-0.03.ebuild b/app-i18n/mecab-skkserv/mecab-skkserv-0.03.ebuild new file mode 100644 index 000000000000..a988749886da --- /dev/null +++ b/app-i18n/mecab-skkserv/mecab-skkserv-0.03.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit autotools + +DESCRIPTION="mecab-skkserv is a Kana-Kanji conversion server using MeCab" +HOMEPAGE="http://chasen.org/~taku/software/mecab-skkserv/" +SRC_URI="http://chasen.org/~taku/software/${PN}/${P}.tar.gz" + +LICENSE="GPL-2 ipadic" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="app-text/mecab" +RDEPEND="${DEPEND} + sys-apps/xinetd" + +PATCHES=( + "${FILESDIR}"/${PN}-cflags.patch + "${FILESDIR}"/${PN}-dicrc.patch +) +HTML_DOCS=( index.html ${PN}.css ) + +src_prepare() { + sed -i "/^dictdir/s:lib:$(get_libdir):" Makefile.am + + default + eautoreconf +} + +src_install() { + default + + insinto /etc/xinetd.d + newins "${FILESDIR}"/${PN}.xinetd ${PN} +} diff --git a/app-i18n/mecab-skkserv/metadata.xml b/app-i18n/mecab-skkserv/metadata.xml new file mode 100644 index 000000000000..e1a49f498885 --- /dev/null +++ b/app-i18n/mecab-skkserv/metadata.xml @@ -0,0 +1,8 @@ +<?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> +</pkgmetadata> |