# Copyright 1999-2004 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.0.2-r1.ebuild,v 1.6 2004/07/03 00:33:27 matsuu Exp $ inherit eutils flag-o-matic libtool 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="~x86 ~alpha ~ppc ~amd64" IUSE="" DEPEND="virtual/x11 dev-libs/libxml2 dev-libs/fribidi >=media-libs/freetype-2.1 dev-libs/libotf dev-db/m17n-db" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${P}-typedef.diff } src_compile() { elibtoolize econf || die emake || die } src_install() { make DESTDIR=${D} install || die dodoc AUTHORS ChangeLog INSTALL NEWS README TODO }