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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

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

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.5.2.ebuild,v 1.9 2011/11/20 14:26:45 naota Exp $
4
5 inherit flag-o-matic eutils
6
7 DESCRIPTION="Multilingual Library for Unix/Linux"
8 HOMEPAGE="http://www.m17n.org/m17n-lib/"
9 SRC_URI="http://www.m17n.org/m17n-lib-download/${P}.tar.gz"
10
11 LICENSE="LGPL-2.1"
12 SLOT="0"
13 KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86"
14 #IUSE="anthy gd ispell"
15 IUSE="gd"
16
17 RDEPEND="x11-libs/libXaw
18 x11-libs/libICE
19 x11-libs/libSM
20 x11-libs/libXrender
21 x11-libs/libXft
22 dev-libs/libxml2
23 dev-libs/fribidi
24 >=media-libs/freetype-2.1
25 media-libs/fontconfig
26 gd? ( media-libs/gd )
27 >=dev-libs/libotf-0.9.4
28 >=dev-db/m17n-db-${PV}"
29 # linguas_th? ( || ( app-i18n/libthai app-i18n/wordcut ) )
30 # anthy? ( app-i18n/anthy )
31 # ispell? ( app-text/ispell )
32
33 DEPEND="${RDEPEND}
34 virtual/pkgconfig"
35
36 pkg_setup() {
37 if use gd && ! built_with_use media-libs/gd png ; then
38 eerror "m17n-lib requires GD to be built with png support. Please add"
39 eerror "'png' to your USE flags, and re-emerge media-libs/gd."
40 die "Missing USE flag."
41 fi
42 }
43
44 src_unpack() {
45 unpack ${A}
46 cd "${S}"
47 epatch "${FILESDIR}"/${P}-fribidi.patch
48 }
49
50 src_compile() {
51 append-flags -fPIC
52 econf $(use_with gd) || die
53 emake -j1 || die
54 }
55
56 src_install() {
57 emake DESTDIR="${D}" install || die
58
59 dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
60 }

  ViewVC Help
Powered by ViewVC 1.1.20