# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=3 inherit eutils MY_P="skk${PV}mu" DESCRIPTION="Dictionary server for the SKK Japanese-input software" HOMEPAGE="http://openlab.ring.gr.jp/skk/" SRC_URI="http://openlab.ring.gr.jp/skk/maintrunk/museum/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="" DEPEND=">=app-i18n/skk-jisyo-200210" S="${WORKDIR}/skk-${PV}mu" src_prepare() { cd "${S}"/skkserv epatch "${FILESDIR}"/${P}-segfault-gentoo.patch epatch "${FILESDIR}"/${P}-inet_ntoa-gentoo.patch } src_configure() { econf --libexecdir="${EPREFIX}"/usr/sbin } src_compile() { cd skkserv emake || die } src_install() { cd skkserv dosbin skkserv || die newinitd "${FILESDIR}"/skkserv.initd skkserv }