blob: f0e5b4971b5da790e5b46bb13a49c0cdba448b4d (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/chinput/chinput-3.0.2.ebuild,v 1.4 2005/01/01 14:26:39 eradicator Exp $
MY_P=${P/chinput/Chinput}
DESCRIPTION="Featureful Chinese Input Method XIM Server"
HOMEPAGE="http://www.opencjk.org/~yumj/project-chinput-e.html"
SRC_URI="http://www.opencjk.org/~yumj/download/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""
DEPEND="app-i18n/unicon
>=dev-libs/pth-1.2
>=media-libs/imlib-1.9"
S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
cd ${S}
einfo "Applying chinput-3.0.2-config.patch"
patch -p1 < ${FILESDIR}/chinput-3.0.2-config.patch
# from debian unstable chinput_3.0.2-9
einfo "Applying chinput-3.0.2-debian.patch"
patch -p1 < ${FILESDIR}/chinput-3.0.2-debian.patch
}
src_compile() {
emake || die "make failed"
}
src_install() {
dodir /etc
make prefix=${D}/usr etc_prefix=${D}/etc install
cd ${S}; dodoc doc/*
}
|