diff options
Diffstat (limited to 'app-i18n/iiimsf/iiimsf-12.0.1_pre1891.ebuild')
-rw-r--r-- | app-i18n/iiimsf/iiimsf-12.0.1_pre1891.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/app-i18n/iiimsf/iiimsf-12.0.1_pre1891.ebuild b/app-i18n/iiimsf/iiimsf-12.0.1_pre1891.ebuild new file mode 100644 index 000000000000..6c7efd570d55 --- /dev/null +++ b/app-i18n/iiimsf/iiimsf-12.0.1_pre1891.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/iiimsf/iiimsf-12.0.1_pre1891.ebuild,v 1.1 2004/09/13 19:57:25 usata Exp $ + +inherit iiimf flag-o-matic + +DESCRIPTION="server program to provide Input Method facilities via IIIMP" + +KEYWORDS="~x86" +IUSE="" + +RDEPEND="dev-libs/libiiimp" +DEPEND="${RDEPEND} + >=sys-apps/sed-4 + sys-devel/autoconf + sys-devel/automake" + +src_unpack() { + unpack ${A} + cd ${S}/src + sed -i -e 's,$(IM_LIBDIR)/iiimp,/usr/lib,g' Makefile* \ + || die "sed Makefile.{am,in} failed." + sed -i -e 's,/usr/lib/im/htt.conf,/etc/im/htt.conf,g' IMSvrCfg.cpp \ + || die "sed IMSvrCfg.cpp failed." +} + +src_compile() { + export ALLOWED_FLAGS="-O -O1" + strip-flags + replace-flags -O[2-9] -O + iiimf_src_compile +} + +src_install() { + exeinto /usr/lib/im + doexe src/htt src/htt_server + exeinto /etc/init.d + newexe ${FILESDIR}/iiim.initd iiim + insinto /etc/im + doins ${FILESDIR}/htt.conf + + dodoc ChangeLog htt.conf +} |