/[gentoo-x86]/app-i18n/ibus-hangul/ibus-hangul-1.4.1.ebuild
Gentoo

Contents of /app-i18n/ibus-hangul/ibus-hangul-1.4.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sat May 26 12:23:14 2012 UTC (2 years, 1 month ago) by naota
Branch: MAIN
Version bump. #416905

(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)

1 naota 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-hangul/ibus-hangul-1.4.0.ebuild,v 1.5 2012/05/03 19:24:33 jdhore Exp $
4    
5     EAPI=4
6    
7     PYTHON_DEPEND="2:2.5"
8    
9     inherit python
10    
11     DESCRIPTION="The Hangul engine for IBus input platform"
12     HOMEPAGE="http://code.google.com/p/ibus/"
13     SRC_URI="http://ibus.googlecode.com/files/${P}.tar.gz"
14    
15     LICENSE="GPL-2"
16     SLOT="0"
17     KEYWORDS="~amd64 ~x86"
18     IUSE="nls"
19    
20     RDEPEND=">=app-i18n/ibus-1.4
21     =dev-python/pygobject-2*
22     =dev-python/pygtk-2*
23     >=app-i18n/libhangul-0.1
24     nls? ( virtual/libintl )"
25     DEPEND="${RDEPEND}
26     virtual/pkgconfig
27     nls? (
28     dev-util/intltool
29     >=sys-devel/gettext-0.17
30     )"
31    
32     DOCS="AUTHORS ChangeLog NEWS README"
33    
34     pkg_setup() {
35     python_set_active_version 2
36     python_pkg_setup
37     }
38    
39     src_prepare() {
40     >py-compile
41     python_convert_shebangs 2 setup/ibus-setup-hangul.in
42     }
43    
44     src_configure() {
45     econf $(use_enable nls)
46     }
47    
48     pkg_postinst() {
49     python_mod_optimize /usr/share/${PN}
50     }
51    
52     pkg_postrm() {
53     python_mod_cleanup /usr/share/${PN}
54     }

  ViewVC Help
Powered by ViewVC 1.1.20