blob: b5abd90acc867f65854bd49f851d13052169ce60 (
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
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/xcin/xcin-2.5.2.3.ebuild,v 1.4 2002/10/20 18:40:03 vapier Exp $
IUSE="nls"
DESCRIPTION="Chinese X Input Method"
HOMEPAGE="http://xcin.linux.org.tw/"
SRC_URI="ftp://xcin.linux.org.tw/pub/xcin/xcin/${P}.tar.gz"
LICENSE="XCIN"
SLOT="0"
KEYWORDS="x86 ppc"
DEPEND="nls? ( sys-devel/gettext )"
S=${WORKDIR}/${PN}
src_unpack () {
unpack ${A}
cd ${S}/po
patch -p0 < ${FILESDIR}/xcin-gentoo.patch || die
}
src_compile() {
./configure \
--host=${CHOST} \
--prefix=/usr \
--infodir=/usr/share/info \
--disable-bimsphone \
--with-xcin-rcdir=/etc \
--mandir=/usr/share/man || die "./configure failed"
make || die
}
src_install () {
make \
prefix=${D}/usr \
xcin_rcp=${D}/etc \
mandir=${D}/usr/share/man \
infodir=${D}/usr/share/info \
install || die
# Again, verify the Makefiles! We don't want anything falling
# outside of ${D}.
}
|