blob: a3f61205e8c272d9ba5a545ce8983969ea0fcdd1 (
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
|
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="NVIDIA Ray Tracing Engine"
HOMEPAGE="https://developer.nvidia.com/optix"
SRC_URI="NVIDIA-OptiX-SDK-${PV}-linux64-x86_64.sh"
S="${WORKDIR}"
SLOT="0/7"
KEYWORDS="~amd64"
RESTRICT="fetch mirror"
LICENSE="NVIDIA-r2"
RDEPEND="
dev-util/nvidia-cuda-toolkit:=
media-libs/freeglut
virtual/opengl
"
pkg_nofetch() {
einfo "Please download ${SRC_URI} from:"
einfo " ${HOMEPAGE}"
einfo "and move it to your DISTDIR directory."
einfo 'DISTDIR value is available from `emerge --info`'
}
src_unpack() {
tail -n +223 "${DISTDIR}"/${A} | tar -zx || die
}
src_install() {
insinto /opt/${PN}
dodoc -r doc
doins -r include SDK
}
|