/[gentoo-x86]/app-i18n/scim-uim/scim-uim-0.1.4.ebuild
Gentoo

Contents of /app-i18n/scim-uim/scim-uim-0.1.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Jun 10 16:59:12 2008 UTC (11 years, 7 months ago) by matsuu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Fixed dependency, bug #223021.
(Portage version: 2.1.5_rc6)

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-uim/scim-uim-0.1.4.ebuild,v 1.2 2006/10/16 18:23:26 flameeyes Exp $
4
5 WANT_AUTOCONF="latest"
6 WANT_AUTOMAKE="latest"
7
8 inherit eutils autotools
9
10 DESCRIPTION="scim-uim is an input module for Smart Common Input Method (SCIM) which uses uim as backend"
11 HOMEPAGE="http://www.scim-im.org/"
12 SRC_URI="mirror://sourceforge/scim/${P}.tar.gz"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="~alpha ~amd64 ~ppc ~x86"
17 IUSE=""
18
19 RDEPEND="|| ( >=app-i18n/scim-0.99.8 >=app-i18n/scim-cvs-0.99.8 )
20 >=app-i18n/uim-0.3.9"
21 DEPEND="${RDEPEND}
22 dev-util/pkgconfig"
23
24 src_unpack() {
25 unpack ${A}
26 cd ${S}
27 if has_version '=app-i18n/uim-0.4.5-r1' || has_version 'app-i18n/uim-svn' ; then
28 sed -i -e "/^UIM_VERSION/s/=.*/=rev1650/" configure.* || die
29 eautoreconf
30 fi
31 }
32
33 src_compile() {
34 econf || die
35 emake || die
36 }
37
38 src_install() {
39 make DESTDIR="${D}" install || die "make install failed"
40
41 dodoc AUTHORS ChangeLog README THANKS
42 }
43
44 pkg_postinst() {
45 einfo
46 elog "To use SCIM with both GTK2 and XIM, you should use the following"
47 elog "in your user startup scripts such as .gnomerc or .xinitrc:"
48 einfo
49 elog "LANG='your_language' scim -d"
50 elog "export XMODIFIERS=@im=SCIM"
51 einfo
52 }

  ViewVC Help
Powered by ViewVC 1.1.20