todo : media-fonts/cwttf (the site is down , new project site : http://code.google.com/p/cwtex-q-fonts ... )
38 lines
797 B
Bash
38 lines
797 B
Bash
# Copyright 1999-2012 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
inherit eutils
|
|
|
|
DESCRIPTION="Array Input Method for SCIM"
|
|
HOMEPAGE="http://scimarray.openfoundry.org/"
|
|
SRC_URI="http://of.openfoundry.org/download_path/scimarray/${PV}/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="x86 ~amd64"
|
|
IUSE=""
|
|
|
|
DEPEND=">=app-i18n/scim-1.4"
|
|
|
|
src_compile() {
|
|
econf || die
|
|
emake || die
|
|
}
|
|
|
|
src_install() {
|
|
make DESTDIR=${D} install || die "make install failed"
|
|
|
|
dodoc AUTHORS THANKS README
|
|
}
|
|
|
|
pkg_postinst() {
|
|
einfo
|
|
einfo "To use SCIM with both GTK2 and XIM, you should use the following"
|
|
einfo "in your user startup scripts such as .gnomerc or .xinitrc:"
|
|
einfo
|
|
einfo "LANG='your_language' scim -d"
|
|
einfo "export XMODIFIERS=@im=SCIM"
|
|
einfo
|
|
}
|