blob: ebee68258489bdde31c0f3bb8e754969dde8f6bd (
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
|
# Copyright 2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="NVIDIA Docker"
HOMEPAGE="https://github.com/NVIDIA/nvidia-docker"
SRC_URI="https://github.com/NVIDIA/nvidia-docker/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="NVIDIA CORPORATION"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="
app-emulation/docker
"
RDEPEND="${DEPEND}"
#src_compile() {
# emake prefix="/usr"
#}
#src_install() {
# emake prefix="${D}/usr" install
#}
src_compile() {
true
}
src_install() {
dobin ${PN}
dodir /etc/docker
insinto /etc/docker
doins daemon.json
fperms 644 /etc/docker/daemon.json
}
|