blob: a9c0656837d022fb7d76e32629c8f26342b1baba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# Copyright 1999-2005 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-1.2.0402.1900.ebuild,v 1.4 2005/01/10 01:38:57 blauwers Exp $
DESCRIPTION="nvidia's c graphics compiler toolkit"
HOMEPAGE="http://developer.nvidia.com/view.asp?IO=cg_toolkit"
SRC_URI="ftp://download.nvidia.com/developer/cg/Cg_1.2/Linux/Cg-1.2.0402-1900.tar.gz"
LICENSE="NVIDIA"
SLOT="0"
KEYWORDS="x86 ~amd64"
IUSE=""
DEPEND="virtual/glut"
S=${WORKDIR}
src_install() {
dobin usr/bin/cgc
dolib usr/lib/*
insinto /etc/env.d
doins ${FILESDIR}/80cgc
insinto /usr/include/Cg
doins usr/include/Cg/*
insinto /usr/include/CgFX
doins usr/include/CgFX/*
doman usr/share/man/man3/*
dodoc usr/local/Cg/MANIFEST usr/local/Cg/README \
usr/local/Cg/docs/*.pdf
docinto runtime/cgGL/html
dodoc usr/local/Cg/docs/runtime/cgGL/html/*
docinto runtime/cgGL/txt
dodoc usr/local/Cg/docs/runtime/cgGL/txt/*
docinto runtime/html
dodoc usr/local/Cg/docs/runtime/html/*
docinto runtime/txt
dodoc usr/local/Cg/docs/runtime/txt/*
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/runtime_ogl_vertex_fragment
dodoc usr/local/Cg/examples/runtime_ogl_vertex_fragment/*
docinto examples/simple_ps
dodoc usr/local/Cg/examples/simple_ps/*
docinto examples/simple_vs
dodoc usr/local/Cg/examples/simple_vs/*
}
|