From 0acfa9246096c77e75a598cd8ef924b5f6203808 Mon Sep 17 00:00:00 2001 From: Luis Fernandes Date: Thu, 6 Sep 2007 20:02:08 +0200 Subject: [PATCH] Added cgtoolkit (1.5.0) - A compiler for the Cg language, and runtime libraries. --- graphic/cgtoolkit/cgtoolkit.cache | 17 +++++++++++++ graphic/cgtoolkit/cgtoolkit.conf | 38 +++++++++++++++++++++++++++++ graphic/cgtoolkit/cgtoolkit.desc | 40 +++++++++++++++++++++++++++++++ 3 files changed, 95 insertions(+) create mode 100644 graphic/cgtoolkit/cgtoolkit.cache create mode 100644 graphic/cgtoolkit/cgtoolkit.conf create mode 100644 graphic/cgtoolkit/cgtoolkit.desc diff --git a/graphic/cgtoolkit/cgtoolkit.cache b/graphic/cgtoolkit/cgtoolkit.cache new file mode 100644 index 000000000..ca13ce027 --- /dev/null +++ b/graphic/cgtoolkit/cgtoolkit.cache @@ -0,0 +1,17 @@ + +[TIMESTAMP] 1189101498 Thu Sep 6 19:58:18 2007 +[BUILDTIME] 10 (5) +[SIZE] 17.98 MB, 1501 files + +[DEP] 00-dirtree +[DEP] bash +[DEP] bzip2 +[DEP] coreutils +[DEP] diffutils +[DEP] findutils +[DEP] gcc +[DEP] glibc +[DEP] grep +[DEP] sed +[DEP] sysfiles +[DEP] tar diff --git a/graphic/cgtoolkit/cgtoolkit.conf b/graphic/cgtoolkit/cgtoolkit.conf new file mode 100644 index 000000000..1bf6e7e3d --- /dev/null +++ b/graphic/cgtoolkit/cgtoolkit.conf @@ -0,0 +1,38 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../cgtoolkit/cgtoolkit.conf +# Copyright (C) 2007 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +# Prevent executing normal make and install build steps. +# This package has a custom install. +makeopt='' +makeinstopt='' +autoextract=0 + +cgtoolkit_postmake() { + f= + case $arch in + x86) f="`match_source_file -p i586`" ;; + x86-64) f="`match_source_file -p x86_64`" ;; + esac + [ "$f" ] || abort "No binary for this architecture detected!" + + tar $taropt $f + cp usr/bin/cgc $root$bindir + cp usr/${libdir##*/}/* $root$libdir + cp usr/include/Cg $root$includedir -fr + cp usr/share/* $root$datadir -fr + cp usr/local/Cg $root$datadir -fr +} + +hook_add postmake 5 cgtoolkit_postmake + diff --git a/graphic/cgtoolkit/cgtoolkit.desc b/graphic/cgtoolkit/cgtoolkit.desc new file mode 100644 index 000000000..d86e4f660 --- /dev/null +++ b/graphic/cgtoolkit/cgtoolkit.desc @@ -0,0 +1,40 @@ +[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] +[COPY] Filename: package/.../cgtoolkit/cgtoolkit.desc +[COPY] Copyright (C) 2007 The OpenSDE Project +[COPY] +[COPY] More information can be found in the files COPYING and README. +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; version 2 of the License. A copy of the +[COPY] GNU General Public License can be found in the file COPYING. +[COPY] --- SDE-COPYRIGHT-NOTE-END --- + +[I] A compiler for the Cg language, and runtime libraries + +[T] The Cg Toolkit provides a compiler for the Cg language, runtime libraries +[T] for use with both leading graphics APIs, runtime libraries for CgFX, example +[T] applications, and extensive documentation. Supporting over 20 different +[T] OpenGL and DirectX profile targets, Cg will allow you to incorporate +[T] stunning interactive effects into your 3D applications. The components +[T] include Nvidia's Cg compiler, CgFX runtime, manual and language reference. + +[U] http://developer.nvidia.com/object/cg_toolkit.html + +[A] Nvidia Corp. +[M] Minto van der Sluis + +[C] extra/graphic +[F] BINARY +[R] + x86 x86-64 + +[L] Free-to-use +[S] Stable +[V] 1.5.0 +[P] X -----5---9 850.000 + +[D] 3584600666 Cg-1.5_i586.tar.gz !http://developer.download.nvidia.com/cg/Cg_1.5/1.5.0/Cg-1.5_x86.tar.gz +[D] 2983647930 Cg-1.5_x86_64.tar.gz http://developer.download.nvidia.com/cg/Cg_1.5/1.5.0/ +