skkfep-0.87-r1.ebuild 757 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Copyright 1999-2013 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=4
  4. inherit eutils toolchain-funcs
  5. DESCRIPTION="A SKK-like Japanese input method for console"
  6. HOMEPAGE="http://homepage2.nifty.com/aito/soft.html"
  7. SRC_URI="http://homepage2.nifty.com/aito/skkfep/${P}.tar.gz"
  8. LICENSE="GPL-2"
  9. SLOT="0"
  10. KEYWORDS="~amd64 ppc x86"
  11. IUSE=""
  12. RDEPEND=">=sys-libs/ncurses-5.7-r7"
  13. DEPEND="${RDEPEND}
  14. >=sys-apps/sed-4
  15. virtual/awk"
  16. RDEPEND="${RDEPEND}
  17. app-i18n/skk-jisyo"
  18. src_prepare() {
  19. epatch \
  20. "${FILESDIR}"/${P}-gentoo.patch \
  21. "${FILESDIR}"/${P}-LDFLAGS.patch
  22. }
  23. src_compile() {
  24. emake CC="$(tc-getCC)" OPTIMIZE="${CFLAGS}"
  25. }
  26. src_install() {
  27. dobin skkfep escmode
  28. doman skkfep.1
  29. dodoc README HISTORY TODO
  30. }