You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.3 KiB
65 lines
1.3 KiB
13 years ago
|
# Copyright 1999-2011 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
# $Header: /var/cvsroot/gentoo-x86/dev-libs/m17n-lib/m17n-lib-1.6.3.ebuild,v 1.1 2011/11/10 16:27:35 naota Exp $
|
||
|
|
||
|
EAPI=4
|
||
|
|
||
|
inherit eutils autotools
|
||
|
|
||
|
DESCRIPTION="Multilingual Library for Unix/Linux"
|
||
|
HOMEPAGE="http://www.m17n.org/m17n-lib/"
|
||
|
SRC_URI="http://www.m17n.org/m17n-lib-download/${P}.tar.gz"
|
||
|
|
||
|
LICENSE="LGPL-2.1"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
|
||
|
#IUSE="anthy gd ispell"
|
||
|
IUSE="gd X"
|
||
|
|
||
|
RDEPEND="
|
||
|
X? (
|
||
|
x11-libs/libXaw
|
||
|
x11-libs/libXft
|
||
|
x11-libs/libX11
|
||
|
gd? ( media-libs/gd[png] )
|
||
|
dev-libs/fribidi
|
||
|
>=media-libs/freetype-2.1
|
||
|
media-libs/fontconfig
|
||
|
>=dev-libs/libotf-0.9.4
|
||
|
)
|
||
|
dev-libs/libxml2
|
||
|
~dev-db/m17n-db-${PV}"
|
||
|
# linguas_th? ( || ( app-i18n/libthai app-i18n/wordcut ) )
|
||
|
# anthy? ( app-i18n/anthy )
|
||
|
# ispell? ( app-text/ispell )
|
||
|
|
||
|
DEPEND="${RDEPEND}
|
||
|
dev-util/pkgconfig"
|
||
|
|
||
|
src_prepare() {
|
||
|
epatch \
|
||
|
"${FILESDIR}"/${PN}-1.6.2-gui.patch \
|
||
|
"${FILESDIR}"/${PN}-1.6.3-parallel-make.patch
|
||
|
|
||
|
eautoreconf
|
||
|
}
|
||
|
|
||
|
src_configure() {
|
||
|
local myconf=
|
||
|
|
||
|
if use X; then
|
||
|
myconf+=" --enable-gui $(use_with gd)"
|
||
|
else
|
||
|
myconf+=" --disable-gui --without-gd"
|
||
|
fi
|
||
|
|
||
|
econf ${myconf} || die
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
# bug #363239
|
||
|
emake -j1 DESTDIR="${D}" install || die
|
||
|
|
||
|
dodoc AUTHORS ChangeLog NEWS README TODO
|
||
|
}
|