# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="the WorldForge client entity library" HOMEPAGE="http://www.worldforge.org/dev/eng/libraries/eris" SRC_URI="mirror://sourceforge/worldforge/${P}.tar.gz" LICENSE="GPL-2" KEYWORDS="~x86" IUSE="doc" SLOT="0" RDEPEND="=dev-libs/libsigc++-2.0* =media-libs/skstream-0.3* =media-libs/atlas-c++-0.6* >=dev-games/wfmath-0.3.3 >=dev-libs/glib-2.0" DEPEND="${RDEPEND} dev-util/pkgconfig" src_compile() { econf || die "econf failed" emake || die "emake failed" if use doc; then emake doc || die "emake doc failed" fi } src_install() { emake DESTDIR="${D}" install || die "install failed" dodoc AUTHORS CHANGES-1.4 ChangeLog NEWS README TODO \ || "Installing doc failed" if use doc; then dohtml -r docs/html/* || die "Installing html failed" fi }