diff options
author | Yamashita Takao <tjy1965@gmail.com> | 2010-10-25 09:59:03 +0900 |
---|---|---|
committer | Yamashita Takao <tjy1965@gmail.com> | 2010-10-25 09:59:03 +0900 |
commit | 7d20b1697ee4f9603aa31b282a06735c0891febb (patch) | |
tree | b5651aae893849850e2dd317bbaa8f29c5ad03ad | |
parent | add app-editors/emacs-git/emacs-git-24.0.9999.ebuild (diff) | |
download | tjy1965-7d20b1697ee4f9603aa31b282a06735c0891febb.tar.gz tjy1965-7d20b1697ee4f9603aa31b282a06735c0891febb.tar.bz2 tjy1965-7d20b1697ee4f9603aa31b282a06735c0891febb.zip |
add app-i18n/ibus-skk/ibus-skk-9999.ebuild
-rw-r--r-- | app-i18n/ibus-skk/Manifest | 1 | ||||
-rw-r--r-- | app-i18n/ibus-skk/ibus-skk-9999.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/app-i18n/ibus-skk/Manifest b/app-i18n/ibus-skk/Manifest new file mode 100644 index 0000000..3264e52 --- /dev/null +++ b/app-i18n/ibus-skk/Manifest @@ -0,0 +1 @@ +EBUILD ibus-skk-9999.ebuild 904 RMD160 e57d91dd8f797f25f1216b836c1bbb3650667694 SHA1 07e2f467ccdd84e82efe1daf4aec2582827eb077 SHA256 7d996278196507321263182baacce3effcefc9593d67f9a071f5201b8bb00140 diff --git a/app-i18n/ibus-skk/ibus-skk-9999.ebuild b/app-i18n/ibus-skk/ibus-skk-9999.ebuild new file mode 100644 index 0000000..5f1262a --- /dev/null +++ b/app-i18n/ibus-skk/ibus-skk-9999.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" +PYTHON_DEPEND="2:2.5" +inherit eutils git python + +DESCRIPTION="Japanese input method Anthy IMEngine for IBus Framework" +HOMEPAGE="http://github.com/ueno/ibus-skk" +SRC_URI="" +EGIT_REPO_URI="http://github.com/ueno/ibus-skk.git" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="nls" + +RDEPEND="app-i18n/ibus + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + nls? ( >=sys-devel/gettext-0.16.1 )" +RDEPEND="${RDEPEND} + app-i18n/skk-jisyo" + +pkg_setup() { + python_set_active_version 2 + +} + +src_configure() { + ./autogen.sh + econf $(use_enable nls) || die +} + +src_install() { + emake DESTDIR="${D}" install || die + + dodoc AUTHORS ChangeLog NEWS README THANKS TODO || die +} + +pkg_postinst() { + python_mod_optimize /usr/share/${PN} +} + +pkg_postrm() { + python_mod_cleanup /usr/share/${PN} +} |