/[gentoo-x86]/dev-libs/m17n-lib/m17n-lib-1.6.3-r1.ebuild
Gentoo

Contents of /dev-libs/m17n-lib/m17n-lib-1.6.3-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Mon Jul 23 21:09:54 2012 UTC (2 years, 4 months ago) by maekke
Branch: MAIN
Changes since 1.2: +2 -2 lines
add ~arm, bug #424329

(Portage version: 2.1.11.9/cvs/Linux i686)

1 naota 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 maekke 1.3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/m17n-lib/m17n-lib-1.6.3-r1.ebuild,v 1.2 2012/07/02 22:32:42 naota Exp $
4 naota 1.1
5     EAPI=4
6    
7     inherit eutils autotools
8    
9     DESCRIPTION="Multilingual Library for Unix/Linux"
10     HOMEPAGE="http://www.m17n.org/m17n-lib/"
11     SRC_URI="http://www.m17n.org/m17n-lib-download/${P}.tar.gz"
12    
13     LICENSE="LGPL-2.1"
14     SLOT="0"
15 maekke 1.3 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
16 naota 1.1 IUSE="anthy athena anthy bidi fontconfig gd spell libotf libxml2 X xft"
17    
18     RDEPEND="
19     anthy? ( app-i18n/anthy )
20 naota 1.2 spell? ( app-text/aspell )
21 naota 1.1 libxml2? ( dev-libs/libxml2 )
22     X? (
23     athena? ( x11-libs/libXaw )
24     bidi? ( dev-libs/fribidi )
25     fontconfig? ( media-libs/fontconfig )
26     gd? ( media-libs/gd[png] )
27     libotf? ( >=dev-libs/libotf-0.9.4 )
28     xft? (
29     >=media-libs/freetype-2.1
30     x11-libs/libXft )
31     x11-libs/libX11
32     )
33     ~dev-db/m17n-db-${PV}"
34     # athena? ( x11-libs/libXaw )
35     # athena shoud be enabled to build m17n-edit properly when X is enabled.
36    
37     # linguas_th? ( || ( app-i18n/libthai app-i18n/wordcut ) )
38     #
39    
40     DEPEND="${RDEPEND}
41     virtual/pkgconfig"
42    
43     src_prepare() {
44     epatch \
45     "${FILESDIR}"/${PN}-1.6.2-gui.patch \
46     "${FILESDIR}"/${PN}-1.6.3-parallel-make.patch \
47 naota 1.2 "${FILESDIR}"/${PN}-1.6.3-configure.patch \
48     "${FILESDIR}"/${PN}-1.6.3-ispell.patch
49 naota 1.1
50     eautoreconf
51     }
52    
53     src_configure() {
54     local myconf="$(use_with anthy) $(use_with spell ispell) $(use_with libxml2)"
55    
56     if use X; then
57     myconf+=" --with-x --enable-gui $(use_with athena) $(use_with bidi fribidi)
58     $(use_with fontconfig) $(use_with xft freetype) $(use_with gd) $(use_with libotf)
59     $(use_with xft)"
60     else
61 naota 1.2 myconf+=" --without-x --disable-gui --without-athena --without-fribidi
62 naota 1.1 --without-fontconfig --without-freetype --without-gd --without-libotf
63     --without-xft"
64     fi
65    
66     econf ${myconf} || die
67     }
68    
69     src_install() {
70     # bug #363239
71     emake -j1 DESTDIR="${D}" install || die
72    
73     dodoc AUTHORS ChangeLog NEWS README TODO
74     }

  ViewVC Help
Powered by ViewVC 1.1.20