summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2008-10-25 13:08:56 +0000
committerMarkus Meier <maekke@gentoo.org>2008-10-25 13:08:56 +0000
commitd2e2cce9bc77f617cf8ae67aea6ee7104a2ccfe4 (patch)
tree8b3e8e5186663f61d12dc927af90d48a40e479a2 /media-gfx/nvidia-cg-toolkit
parentAdd missing inherit eutils (diff)
downloadgentoo-2-d2e2cce9bc77f617cf8ae67aea6ee7104a2ccfe4.tar.gz
gentoo-2-d2e2cce9bc77f617cf8ae67aea6ee7104a2ccfe4.tar.bz2
gentoo-2-d2e2cce9bc77f617cf8ae67aea6ee7104a2ccfe4.zip
version bump by Jean-Marc Hengen in bug #244224
(Portage version: 2.2_rc12/cvs/Linux 2.6.27.3 i686)
Diffstat (limited to 'media-gfx/nvidia-cg-toolkit')
-rw-r--r--media-gfx/nvidia-cg-toolkit/ChangeLog8
-rw-r--r--media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-2.1.0012.ebuild65
2 files changed, 72 insertions, 1 deletions
diff --git a/media-gfx/nvidia-cg-toolkit/ChangeLog b/media-gfx/nvidia-cg-toolkit/ChangeLog
index 9be332363c70..133512cac9e3 100644
--- a/media-gfx/nvidia-cg-toolkit/ChangeLog
+++ b/media-gfx/nvidia-cg-toolkit/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/nvidia-cg-toolkit
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/nvidia-cg-toolkit/ChangeLog,v 1.37 2008/10/16 20:43:11 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/nvidia-cg-toolkit/ChangeLog,v 1.38 2008/10/25 13:08:56 maekke Exp $
+
+*nvidia-cg-toolkit-2.1.0012 (25 Oct 2008)
+
+ 25 Oct 2008; Markus Meier <maekke@gentoo.org>
+ +nvidia-cg-toolkit-2.1.0012.ebuild:
+ version bump by Jean-Marc Hengen in bug #244224
16 Oct 2008; Markus Meier <maekke@gentoo.org>
-nvidia-cg-toolkit-2.0.0015.ebuild:
diff --git a/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-2.1.0012.ebuild b/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-2.1.0012.ebuild
new file mode 100644
index 000000000000..065344607476
--- /dev/null
+++ b/media-gfx/nvidia-cg-toolkit/nvidia-cg-toolkit-2.1.0012.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2008 Gentoo Foundation
+# 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.0012.ebuild,v 1.1 2008/10/25 13:08:56 maekke Exp $
+
+inherit versionator
+
+MY_PV="$(get_version_component_range 1-2)"
+MY_DATE="October2008"
+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_2.0/${PV}/Cg-${MY_PV}_${MY_DATE}_x86.tgz )
+ amd64? (
+ http://developer.download.nvidia.com/cg/Cg_2.0/${PV}/Cg-${MY_PV}_${MY_DATE}_x86_64.tgz )"
+
+LICENSE="NVIDIA"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="virtual/glut"
+
+S="${WORKDIR}"
+
+src_compile() {
+ einfo "Nothing to compile."
+}
+
+src_install() {
+ dobin usr/bin/cgc
+
+ 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
+}