summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Lauwers <blauwers@gentoo.org>2002-12-10 22:32:13 +0000
committerBart Lauwers <blauwers@gentoo.org>2002-12-10 22:32:13 +0000
commit873c2fe060b4d3f9cc6bd2053f2efe159fddca1b (patch)
tree60810f645cec542a81116d80dcbdb523c18de206 /media-gfx/nvidia-cg-toolkit
parentfix (diff)
downloadhistorical-873c2fe060b4d3f9cc6bd2053f2efe159fddca1b.tar.gz
historical-873c2fe060b4d3f9cc6bd2053f2efe159fddca1b.tar.bz2
historical-873c2fe060b4d3f9cc6bd2053f2efe159fddca1b.zip
Initial import of Cg toolkit for Linux from NVIDIA
Diffstat (limited to 'media-gfx/nvidia-cg-toolkit')
-rw-r--r--media-gfx/nvidia-cg-toolkit/Changelog10
-rw-r--r--media-gfx/nvidia-cg-toolkit/files/80cgc7
-rw-r--r--media-gfx/nvidia-cg-toolkit/files/digest-nvidia-cg-toolkit-2.1-r61
-rw-r--r--media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-2.1-r6.ebuild47
4 files changed, 65 insertions, 0 deletions
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 <media-gfx>/<nvidia-cg-toolkit>
+# 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 <blauwers@gentoo.org> 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
+}