blob: c7460ed9ee65e8baf1551d9b57ff0499856278f7 (
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
37
38
39
40
41
42
43
44
45
46
47
48
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/multiskkserv/multiskkserv-20100128.ebuild,v 1.2 2012/08/11 18:36:54 ago Exp $
EAPI="3"
inherit eutils fixheadtails autotools
DESCRIPTION="SKK server that handles multiple dictionaries"
HOMEPAGE="http://www3.big.or.jp/~sian/linux/products/"
SRC_URI="http://www3.big.or.jp/~sian/linux/products/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc ~x86"
IUSE=""
DEPEND="app-arch/xz-utils
dev-db/cdb"
RDEPEND="|| (
>=app-i18n/skk-jisyo-200705[cdb]
app-i18n/skk-jisyo-cdb
)"
src_prepare() {
ht_fix_all
epatch "${FILESDIR}"/${P}-cdb.patch
eautoreconf
}
src_configure() {
econf --with-cdb=yes || die
}
src_install() {
emake DESTDIR="${D}" install || die
newconfd "${FILESDIR}"/multiskkserv.conf multiskkserv || die
newinitd "${FILESDIR}"/multiskkserv.initd multiskkserv || die
dodoc AUTHORS ChangeLog NEWS README* || die
}
pkg_postinst() {
elog "By default, multiskkserv will look up only SKK-JISYO.L.cdb."
elog "If you want to use more dictionaries,"
elog "edit /etc/conf.d/multiskkserv manually."
}
|