Skip to content

Commit

Permalink
app-i18n/skkfep: update to EAPI 6
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.6, Repoman-2.3.1
  • Loading branch information
hattya committed Jun 25, 2017
1 parent 3db6c91 commit 1dcd092
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 13 deletions.
8 changes: 4 additions & 4 deletions app-i18n/skkfep/metadata.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>[email protected]</email>
<name>Cjk</name>
</maintainer>
<maintainer type="project">
<email>[email protected]</email>
<name>Cjk</name>
</maintainer>
</pkgmetadata>
23 changes: 14 additions & 9 deletions app-i18n/skkfep/skkfep-0.87-r1.ebuild
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=4
inherit eutils toolchain-funcs
EAPI="6"

inherit toolchain-funcs

DESCRIPTION="A SKK-like Japanese input method for console"
HOMEPAGE="http://aitoweb.world.coocan.jp/soft.html"
Expand All @@ -13,25 +14,29 @@ SLOT="0"
KEYWORDS="~amd64 ppc x86"
IUSE=""

RDEPEND=">=sys-libs/ncurses-5.7-r7"
DEPEND="${RDEPEND}
>=sys-apps/sed-4
DEPEND="sys-apps/sed
sys-libs/ncurses:=
virtual/awk"
RDEPEND="${RDEPEND}
RDEPEND="sys-libs/ncurses:=
app-i18n/skk-jisyo"

PATCHES=( "${FILESDIR}"/${PN}-gentoo.patch )
DOCS=( README HISTORY TODO )

src_prepare() {
sed -i "/SYSTEM_DIC_NAME/a#define SYSTEM_DIC_NAME \"${EPREFIX}/usr/share/skk/SKK-JISYO.L\"" config.h

epatch "${FILESDIR}"/${PN}-gentoo.patch
default
}

src_compile() {
emake CC="$(tc-getCC)" OPTIMIZE="${CFLAGS}"
emake \
CC="$(tc-getCC)" \
OPTIMIZE="${CFLAGS}"
}

src_install() {
dobin skkfep escmode
doman skkfep.1
dodoc README HISTORY TODO
einstalldocs
}

0 comments on commit 1dcd092

Please sign in to comment.