# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ SLOT=0 LICENSE=/usr/portage/licenses/LGPL-2 KEYWORDS=x86 DESCRIPTION="Rendering window system for OpenGL. Used by Open Scene Graph." SRC_URI="http://www.openscenegraph.org/downloads/snapshots/OSG_OP_OT-0.9.8.zip" HOMEPAGE=http://www.openscenegraph.org/ IUSE="doc" DEPEND="virtual/opengl virtual/x11 dev-libs/openthreads doc? ( app-doc/doxygen )" RDEPEND="" CAPSPN="Producer" S=${WORKDIR}/OSG_OP_OT-0.9.8/${CAPSPN} src_unpack() { unpack ${A} || die } src_compile() { make || die if use doc; then doxygen -u doc/doxy.cfg doxygen doc/doxy.cfg fi } src_install() { make INST_LOCATION=${D}/usr install || die dodoc *.txt if use doc; then dohtml doc/* fi }