mirror of
https://github.com/flatcar/scripts.git
synced 2026-03-07 06:21:13 +01:00
Add nvidia-container-toolkit ebuild
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
This commit is contained in:
parent
2051993ecf
commit
2a41f14325
@ -0,0 +1 @@
|
||||
DIST nvidia-container-toolkit-1.14.5.tar.gz 2364638 BLAKE2B 0d578e35adb6c10ee2ecc0058efd321291f4280a8866e200e23858ae850eec5bd0b5a4767a853204e29d3d489f5c4f521154c24f4931b053824072fd0b2fcdc3 SHA512 828b69578894be96b6629f5e404e71589700267c9c24593caea7cb8c6c0d668d5393510a4608cb6ce377d4f28fe7a442bf9e08495f142a22616ca2115cb5eb61
|
||||
@ -0,0 +1,31 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
EGO_PN="github.com/NVIDIA/${PN}"
|
||||
|
||||
inherit coreos-go-depend
|
||||
|
||||
DESCRIPTION="NVIDIA container runtime toolkit"
|
||||
HOMEPAGE="https://github.com/NVIDIA/nvidia-container-toolkit"
|
||||
SRC_URI="https://github.com/NVIDIA/${PN}/archive/v${PV/_rc/-rc.}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm64"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
sys-libs/libnvidia-container:=
|
||||
"
|
||||
BDEPEND=""
|
||||
|
||||
src_compile() {
|
||||
go_export
|
||||
emake binaries
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin nvidia-container-runtime{-hook,.cdi,} nvidia-ctk
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user