# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils mono DESCRIPTION="OpenGL Binding for Mono and Gtk#" SRC_URI="mirror://sourceforge/csdopenglnet/${P}.tar.bz2" HOMEPAGE="http://csdopenglnet.sourceforge.net/" LICENSE="GPL-2" SLOT="0" RDEPEND=">=dev-dotnet/mono-1.0 nvidia? >=media-gfx/nvidia-cg-toolkit-1.2.0402.1900 >=x11-libs/gtk-sharp-1.0 " DEPEND="${RDEPEND}" KEYWORDS="~x86" IUSE="nvidia" src_compile() { MONO_PATH=${S} emake -j1 || die } src_install () { make GACUTIL_FLAGS="/root ${D}/usr/lib /gacdir /usr/lib " DESTDIR=${D} install || die dodoc README TODO AUTHORS COPYING ChangeLog }