| 1 | # Copyright 1999-2010 Gentoo Foundation |
1 | # Copyright 1999-2010 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/Attic/nvidia-cuda-toolkit-3.2.ebuild,v 1.1 2010/12/01 21:57:52 spock Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/Attic/nvidia-cuda-toolkit-3.2.ebuild,v 1.2 2010/12/12 19:01:32 spock Exp $ |
| 4 | |
4 | |
| 5 | EAPI=2 |
5 | EAPI=2 |
| 6 | |
6 | |
| 7 | inherit eutils multilib |
7 | inherit eutils multilib |
| 8 | |
8 | |
| … | |
… | |
| 137 | |
137 | |
| 138 | into ${DEST}/open64 |
138 | into ${DEST}/open64 |
| 139 | dobin open64/bin/* |
139 | dobin open64/bin/* |
| 140 | libopts -m0755 |
140 | libopts -m0755 |
| 141 | dolib open64/lib/* |
141 | dolib open64/lib/* |
|
|
142 | |
|
|
143 | # TODO: ideally, there would be multiple OpenCL implementations available in |
|
|
144 | # the tree and an eselect module would allow to switch between them. |
|
|
145 | into / |
|
|
146 | dosym /opt/cuda/include/CL usr/include/CL |
| 142 | } |
147 | } |
| 143 | |
148 | |
| 144 | pkg_postinst() { |
149 | pkg_postinst() { |
| 145 | env-update |
150 | env-update |
| 146 | elog "If you want to natively run the code generated by this version of the" |
151 | elog "If you want to natively run the code generated by this version of the" |