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
commitdbd10c4ff79ee7e08f924724a3e0067746491465 (patch)
tree562af18e255704621355f587048c7248f34248c3 /media-gfx/nvidia-cg-toolkit
parentfix (diff)
downloadgentoo-2-dbd10c4ff79ee7e08f924724a3e0067746491465.tar.gz
gentoo-2-dbd10c4ff79ee7e08f924724a3e0067746491465.tar.bz2
gentoo-2-dbd10c4ff79ee7e08f924724a3e0067746491465.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
+}