From 873c2fe060b4d3f9cc6bd2053f2efe159fddca1b Mon Sep 17 00:00:00 2001 From: Bart Lauwers Date: Tue, 10 Dec 2002 22:32:13 +0000 Subject: Initial import of Cg toolkit for Linux from NVIDIA --- media-gfx/nvidia-cg-toolkit/Changelog | 10 +++++ media-gfx/nvidia-cg-toolkit/files/80cgc | 7 ++++ .../files/digest-nvidia-cg-toolkit-2.1-r6 | 1 + .../nvidia-cg-toolkit-2.1-r6.ebuild | 47 ++++++++++++++++++++++ 4 files changed, 65 insertions(+) create mode 100644 media-gfx/nvidia-cg-toolkit/Changelog create mode 100644 media-gfx/nvidia-cg-toolkit/files/80cgc create mode 100644 media-gfx/nvidia-cg-toolkit/files/digest-nvidia-cg-toolkit-2.1-r6 create mode 100644 media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-2.1-r6.ebuild (limited to 'media-gfx/nvidia-cg-toolkit') diff --git a/media-gfx/nvidia-cg-toolkit/Changelog b/media-gfx/nvidia-cg-toolkit/Changelog new file mode 100644 index 000000000000..3bc25db02645 --- /dev/null +++ b/media-gfx/nvidia-cg-toolkit/Changelog @@ -0,0 +1,10 @@ +# ChangeLog for / +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/nvidia-cg-toolkit/Changelog,v 1.1 2002/12/10 22:32:13 blauwers Exp $ + +*nvidia-cg-toolkit-2.1-r6 (10 DEC 2002) + + 10 DEC 2002; B.Lauwers nvidia-cg-toolkit-2.1-r6.ebuild : + + Initial import of the cg toolkit from NVIDIA, find more great examples on + http://www.csit.fsu.edu/~blanco/Cg/Cg_projects.htm diff --git a/media-gfx/nvidia-cg-toolkit/files/80cgc b/media-gfx/nvidia-cg-toolkit/files/80cgc new file mode 100644 index 000000000000..192fda87337c --- /dev/null +++ b/media-gfx/nvidia-cg-toolkit/files/80cgc @@ -0,0 +1,7 @@ +# /etc/env.d/80cgc : +# $Header: /var/cvsroot/gentoo-x86/media-gfx/nvidia-cg-toolkit/files/80cgc,v 1.1 2002/12/10 22:32:13 blauwers Exp $ + + +# Configures the CG Runtime environment for Bourne shell and compatible shells + +CG_COMPILER_EXE=/usr/bin/cgc diff --git a/media-gfx/nvidia-cg-toolkit/files/digest-nvidia-cg-toolkit-2.1-r6 b/media-gfx/nvidia-cg-toolkit/files/digest-nvidia-cg-toolkit-2.1-r6 new file mode 100644 index 000000000000..11e7f366b96c --- /dev/null +++ b/media-gfx/nvidia-cg-toolkit/files/digest-nvidia-cg-toolkit-2.1-r6 @@ -0,0 +1 @@ +MD5 62413e90757773e3724c18d99dc66a88 Cg-Beta-2.1-6.tar.gz 1292806 diff --git a/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-2.1-r6.ebuild b/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-2.1-r6.ebuild new file mode 100644 index 000000000000..e0a3aadb1319 --- /dev/null +++ b/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-2.1-r6.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-2.1-r6.ebuild,v 1.1 2002/12/10 22:32:13 blauwers Exp $ + +HOMEPAGE="http://developer.nvidia.com/view.asp?IO=cg_toolkit" +SRC_URI="http://download.nvidia.com/developer/cg/Cg-Beta-2.1-6.tar.gz" +LICENSE="NVIDIA" +SLOT="0" +KEYWORDS="~x86" +IUSE="glut nvidia-glx" +DEPEND="media-video/nvidia-glx + virtual/glut" +S="${WORKDIR}/Cg-1.5.1-install/" + +src_compile() { + tar xfz Cg.tar.gz || die "Cannot prepare software." +} + +src_install() { + dobin usr/bin/cgc + + dolib usr/lib/* + + insinto /etc/env.d + doins ${FILESDIR}/80cgc + + insinto /usr/include/Cg + doins usr/include/Cg/* + + dodoc usr/local/Cg/MANIFEST usr/local/Cg/README \ + usr/local/Cg/docs/Cg_Toolkit-1.5.pdf + + docinto examples + dodoc usr/local/Cg/examples/README.examples + + docinto examples/common + dodoc usr/local/Cg/examples/common/* + + docinto examples/runtime_ogl + dodoc usr/local/Cg/examples/runtime_ogl/* + + docinto examples/simple + dodoc usr/local/Cg/examples/simple/* + + #docinto include/Cg + #dodoc usr/local/Cg/include/GL/glext.h +} -- cgit v1.2.3-65-gdbad