mecab-skkserv-0.03.ebuild 924 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # Copyright 1999-2014 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI="5"
  4. inherit autotools-utils multilib
  5. DESCRIPTION="mecab-skkserv is a Kana-Kanji conversion server using MeCab"
  6. HOMEPAGE="http://chasen.org/~taku/software/mecab-skkserv/"
  7. SRC_URI="http://chasen.org/~taku/software/mecab-skkserv/${P}.tar.gz"
  8. LICENSE="GPL-2 ipadic"
  9. SLOT="0"
  10. KEYWORDS="~amd64 ~x86"
  11. IUSE=""
  12. DEPEND=">=app-text/mecab-0.91"
  13. RDEPEND="${DEPEND}
  14. sys-apps/xinetd"
  15. DOCS=( README NEWS AUTHORS )
  16. HTML_DOCS=( index.html )
  17. PATCHES=(
  18. "${FILESDIR}"/${P}-cflags.patch
  19. "${FILESDIR}"/${P}-dicrc.patch
  20. )
  21. AUTOTOOLS_AUTORECONF=1
  22. AUTOTOOLS_IN_SOURCE_BUILD=1
  23. src_prepare() {
  24. sed -i -e "/^dictdir/s@lib@$(get_libdir)@" Makefile.am || die
  25. autotools-utils_src_prepare
  26. }
  27. src_install() {
  28. autotools-utils_src_install
  29. # for running skkserv from xinetd
  30. insinto /etc/xinetd.d; doins "${FILESDIR}"/mecab-skkserv
  31. }