blob: 86af3f3d2a88d86ff047a33252d8a2ed71f6656e [file] [log] [blame]
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
inherit eutils toolchain-funcs
DESCRIPTION="A SKK-like Japanese input method for console"
HOMEPAGE="http://homepage2.nifty.com/aito/soft.html"
SRC_URI="http://homepage2.nifty.com/aito/skkfep/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ppc x86"
IUSE=""
RDEPEND=">=sys-libs/ncurses-5.7-r7"
DEPEND="${RDEPEND}
>=sys-apps/sed-4
virtual/awk"
RDEPEND="${RDEPEND}
app-i18n/skk-jisyo"
src_prepare() {
epatch \
"${FILESDIR}"/${P}-gentoo.patch \
"${FILESDIR}"/${P}-LDFLAGS.patch
}
src_compile() {
emake CC="$(tc-getCC)" OPTIMIZE="${CFLAGS}"
}
src_install() {
dobin skkfep escmode
doman skkfep.1
dodoc README HISTORY TODO
}