# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-libs/fribidi/fribidi-0.10.4.ebuild,v 1.18 2005/02/13 15:01:09 greg_g Exp $ inherit eutils DESCRIPTION="A free implementation of the unicode bidirectional algorithm" HOMEPAGE="http://freedesktop.org/Software/FriBidi" SRC_URI="mirror://sourceforge/fribidi/${P}.tar.bz2" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="x86 ppc sparc hppa amd64 alpha ia64 ppc64 ~mips ~ppc-macos" IUSE="" DEPEND="virtual/libc" src_unpack() { unpack ${A} use ppc-macos && epatch ${FILESDIR}/${PN}-macos.patch } src_compile() { econf || die emake || die "emake failed" make test || die "make test failed" } src_install() { einstall || die dodoc AUTHORS NEWS README ChangeLog THANKS TODO ANNOUNCE }