summaryrefslogtreecommitdiff
blob: 70fe4142a00e5300efc1121e49d01720edd7b0a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/skktools/skktools-1.3.1.ebuild,v 1.1 2007/09/30 14:40:30 matsuu Exp $

inherit elisp-common eutils

DESCRIPTION="SKK utilities to manage dictionaries"
HOMEPAGE="http://openlab.jp/skk/"
SRC_URI="http://openlab.ring.gr.jp/skk/tools/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="emacs gdbm"

DEPEND="emacs? ( virtual/emacs )
	gdbm? ( sys-libs/gdbm )
	!gdbm? ( sys-libs/db )
	>=dev-libs/glib-2"

src_compile() {
	econf $(use_with gdbm) || die
	emake || die
}

src_install() {
	emake DESTDIR="${D}" install || die

	dobin saihenkan.rb
	use emacs && elisp-site-file-install skk-xml.el

	insinto /usr/share/skk
	doins unannotation.awk

	dodoc ChangeLog README READMEs/*
}