/[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.4 - (show annotations) (download)
Mon Dec 3 07:13:23 2012 UTC (19 months, 3 weeks ago) by naota
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
Update HOMEPAGE address

(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key F8551514)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/m17n-lib/m17n-lib-1.6.3-r1.ebuild,v 1.3 2012/07/23 21:09:54 maekke Exp $
4
5 EAPI=4
6
7 inherit eutils autotools
8
9 DESCRIPTION="Multilingual Library for Unix/Linux"
10 HOMEPAGE="https://savannah.nongnu.org/projects/m17n"
11 SRC_URI="http://www.m17n.org/m17n-lib-download/${P}.tar.gz"
12
13 LICENSE="LGPL-2.1"
14 SLOT="0"
15 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
16 IUSE="anthy athena anthy bidi fontconfig gd spell libotf libxml2 X xft"
17
18 RDEPEND="
19 anthy? ( app-i18n/anthy )
20 spell? ( app-text/aspell )
21 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 "${FILESDIR}"/${PN}-1.6.3-configure.patch \
48 "${FILESDIR}"/${PN}-1.6.3-ispell.patch
49
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 myconf+=" --without-x --disable-gui --without-athena --without-fribidi
62 --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