blob: b228d3891cd9673f0298011f912a1a5d58045281 (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/iiimxcf/iiimxcf-12.1_p2002.ebuild,v 1.2 2005/04/16 13:17:11 usata Exp $
inherit iiimf eutils
DESCRIPTION="X client framework for IIIMF"
SRC_URI="http://www.openi18n.org/download/im-sdk/src/${IMSDK_P}.tar.bz2"
KEYWORDS="x86 -alpha"
IUSE=""
RDEPEND="dev-libs/libiiimp
dev-libs/libiiimcf"
DEPEND="${RDEPEND}
>=sys-apps/sed-4"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/im-sdk-htt_xbe-crash.patch
cd ${S}/xiiimp.so/iiimp
sed -i -e 's,$(IM_LIBDIR)/iiimcf,/usr/lib,g' \
-e 's,$(IM_LIBDIR)/iiimp,/usr/lib,g' \
Makefile.am || die "sed Makefile.am failed."
}
src_compile() {
cd ${S}/xiiimp.so
iiimf_src_compile || die
cd ${S}/htt_xbe
iiimf_src_compile || die
}
src_install() {
cd ${S}/xiiimp.so
make DESTDIR=${D} install || die
docinto xiiimp.so
dodoc AUTHORS NEWS README ChangeLog
cd ${S}/htt_xbe
make DESTDIR=${D} install || die
docinto htt_xbe
dodoc ChangeLog
}
|