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

Contents of /dev-libs/m17n-lib/m17n-lib-1.6.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Fri May 4 18:35:44 2012 UTC (2 years, 5 months ago) by jdhore
Branch: MAIN
Changes since 1.2: +3 -3 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 jdhore 1.3 # Copyright 1999-2012 Gentoo Foundation
2 flameeyes 1.1 # Distributed under the terms of the GNU General Public License v2
3 jdhore 1.3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/m17n-lib/m17n-lib-1.6.2.ebuild,v 1.2 2011/04/12 08:16:02 flameeyes Exp $
4 flameeyes 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     KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
16     #IUSE="anthy gd ispell"
17     IUSE="gd X"
18    
19     RDEPEND="
20     X? (
21     x11-libs/libXaw
22     x11-libs/libXft
23     x11-libs/libX11
24     gd? ( media-libs/gd[png] )
25     dev-libs/fribidi
26     >=media-libs/freetype-2.1
27     media-libs/fontconfig
28     >=dev-libs/libotf-0.9.4
29     )
30     dev-libs/libxml2
31     ~dev-db/m17n-db-${PV}"
32     # linguas_th? ( || ( app-i18n/libthai app-i18n/wordcut ) )
33     # anthy? ( app-i18n/anthy )
34     # ispell? ( app-text/ispell )
35    
36     DEPEND="${RDEPEND}
37 jdhore 1.3 virtual/pkgconfig"
38 flameeyes 1.1
39     src_prepare() {
40     epatch \
41     "${FILESDIR}"/${P}-gui.patch \
42     "${FILESDIR}"/${P}-parallel-make.patch \
43     "${FILESDIR}"/${P}-candidates-list.patch
44    
45     eautoreconf
46     }
47    
48     src_configure() {
49     local myconf=
50    
51     if use X; then
52     myconf+=" --enable-gui $(use_with gd)"
53     else
54     myconf+=" --disable-gui --without-gd"
55     fi
56    
57     econf ${myconf} || die
58     }
59    
60     src_install() {
61 flameeyes 1.2 # bug #363239
62     emake -j1 DESTDIR="${D}" install || die
63 flameeyes 1.1
64     dodoc AUTHORS ChangeLog NEWS README TODO
65     }

  ViewVC Help
Powered by ViewVC 1.1.20