# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-i18n/skkserv/skkserv-9.6-r3.ebuild,v 1.5 2005/04/21 18:51:29 blubb Exp $ 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="x86 ppc sparc alpha amd64" IUSE="" DEPEND="virtual/libc >=app-i18n/skk-jisyo-200210" PROVIDE="virtual/skkserv" S="${WORKDIR}/skk-${PV}mu" src_unpack() { unpack ${A} cd ${S}/skkserv epatch ${FILESDIR}/${P}-segfault-gentoo.patch epatch ${FILESDIR}/${P}-inet_ntoa-gentoo.patch } src_compile() { econf --libexecdir=/usr/sbin || die "econf failed" cd skkserv emake || die } src_install() { cd skkserv dosbin skkserv || die # install rc script exeinto /etc/init.d ; newexe ${FILESDIR}/skkserv.initd skkserv }