summaryrefslogtreecommitdiff
path: root/media-gfx/nvidia-cg-toolkit
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2010-12-09 04:03:22 +0200
committerGluzskiy Alexandr <sss123next@list.ru>2010-12-09 04:03:22 +0200
commite20177a2e88a3a48bea5ad5ac83b622ecba92a09 (patch)
tree13c85f316864d93cb8526c2a80aaedb9587cb520 /media-gfx/nvidia-cg-toolkit
parent641a98c6f596fa6f17d341ef7a663973d0a08e4f (diff)
new file: games-emulation/dolphin-emu/dolphin-emu-9999.ebuild
new file: media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.0.0017.ebuild modified: sys-fs/aufs2-util/aufs2-util-9999.ebuild
Diffstat (limited to 'media-gfx/nvidia-cg-toolkit')
-rw-r--r--media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.0.0017.ebuild67
1 files changed, 67 insertions, 0 deletions
diff --git a/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.0.0017.ebuild b/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.0.0017.ebuild
new file mode 100644
index 0000000..a9dc6d4
--- /dev/null
+++ b/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-3.0.0017.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit versionator
+
+MY_PV="$(get_version_component_range 1-2)"
+MY_DATE="July2010"
+DESCRIPTION="NVIDIA's C graphics compiler toolkit"
+HOMEPAGE="http://developer.nvidia.com/object/cg_toolkit.html"
+SRC_URI="x86? ( http://developer.download.nvidia.com/cg/Cg_${MY_PV}/Cg-${MY_PV}_${MY_DATE}_x86.tgz )
+ amd64? ( http://developer.download.nvidia.com/cg/Cg_${MY_PV}/Cg-${MY_PV}_${MY_DATE}_x86_64.tgz )"
+
+LICENSE="NVIDIA"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="strip"
+DEPEND="media-libs/freeglut
+ x86? ( virtual/libstdc++:3.3 )"
+
+S=${WORKDIR}
+
+src_compile() {
+ einfo "Nothing to compile."
+}
+
+
+src_install() {
+ dobin usr/bin/*
+
+ if use x86; then
+ dolib usr/lib/*
+ elif use amd64; then
+ dolib usr/lib64/*
+ fi
+
+ doenvd "${FILESDIR}"/80cgc
+
+ insinto /usr/include/Cg
+ doins usr/include/Cg/*
+
+ doman usr/share/man/man3/*
+
+ dodoc usr/local/Cg/MANIFEST usr/local/Cg/README \
+ usr/local/Cg/docs/*.pdf usr/local/Cg/docs/CgReferenceManual.chm
+
+ docinto html
+ dohtml usr/local/Cg/docs/html/*
+
+ docinto examples
+ dodoc usr/local/Cg/examples/README
+
+ docinto include/GL
+ dodoc usr/local/Cg/include/GL/*
+
+ # Copy all the example code.
+ cd usr/local/Cg/examples
+ insinto /usr/share/doc/${PF}/examples
+ doins Makefile
+ for dir in $(find * -type d) ; do
+ insinto usr/share/doc/${PF}/examples/"${dir}"
+ doins "${dir}"/*
+ done
+}