diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2005-09-25 00:04:30 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2005-09-25 00:04:30 +0000 |
commit | 1c913ccc0a6a8dce24855fd291d3480efe91ca20 (patch) | |
tree | bf9718d0c2396538fb84f69e45dbbddda85b9f12 /app-i18n/iiimf-skk/iiimf-skk-0.1.22.95-r1.ebuild | |
parent | Fixed metadata. (diff) | |
download | historical-1c913ccc0a6a8dce24855fd291d3480efe91ca20.tar.gz historical-1c913ccc0a6a8dce24855fd291d3480efe91ca20.tar.bz2 historical-1c913ccc0a6a8dce24855fd291d3480efe91ca20.zip |
depricated gtk2 USE flag, Bug #106560.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'app-i18n/iiimf-skk/iiimf-skk-0.1.22.95-r1.ebuild')
-rw-r--r-- | app-i18n/iiimf-skk/iiimf-skk-0.1.22.95-r1.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/app-i18n/iiimf-skk/iiimf-skk-0.1.22.95-r1.ebuild b/app-i18n/iiimf-skk/iiimf-skk-0.1.22.95-r1.ebuild new file mode 100644 index 000000000000..fa00f2e5b758 --- /dev/null +++ b/app-i18n/iiimf-skk/iiimf-skk-0.1.22.95-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/iiimf-skk/iiimf-skk-0.1.22.95-r1.ebuild,v 1.1 2005/09/25 00:04:30 matsuu Exp $ + +inherit eutils + +DESCRIPTION="SKK Language Engine inputh method module for IIIMF" +HOMEPAGE="http://www.momonga-linux.org/~famao/iiimf-skk/" +SRC_URI="mirror://sourceforge.jp/iiimf-skk/9344/${P}.tar.gz + http://dev.gentoo.org/~usata/misc/${P}-db4-gentoo.diff.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="nls canna debug" + +DEPEND="virtual/libc + >=sys-libs/db-3 + >=x11-libs/gtk+-2 + dev-libs/libxml2 + app-i18n/im-sdk + virtual/skkserv + canna? ( app-i18n/canna )" + +src_unpack() { + unpack ${P}.tar.gz + cd ${S} + epatch ${DISTDIR}/${P}-db4-gentoo.diff.gz +} + +src_compile() { + + local myconf + # configure script is broken wrt --disable-* + myconf="${myconf} --enable-gtk2" + use nls && myconf="${myconf} --enable-nls" + use debug && myconf="${myconf} --enable-debug" + use canna && myconf="${myconf} --enable-canna" + + econf \ + --with-skkserv-host="localhost" \ + --with-skkserv-port=1178 \ + ${myconf} || die "econf failed" + emake -j1 || die +} + +src_install () { + + make DESTDIR=${D} install || die + + newbin ${FILESDIR}/iiimf-skk.sh iiimf-skk + + dodoc ABOUT-NLS AUTHORS ChangeLog INSTALL NEWS README +} + +pkg_postinst() { + + einfo + einfo "To use this module, follow these steps:" + einfo "(1) run /etc/init.d/iiim start (as root)" + einfo "(2) run iiimf-skk (as normal user)" + einfo "(3) export XMODIFIERS='@im=htt' (setenv XMODIFIERS '@im=htt' in csh)" + einfo +} |