diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-04 23:29:09 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-04 23:29:09 +0100 |
commit | 6f57e716c7968def6387f9db258e883125bab84f (patch) | |
tree | 1d3f720f107f7577200cfa215fde87643c8ced16 /app-containers/nerdctl/nerdctl-1.3.1.ebuild | |
parent | 7dfa73123ca5218ae5f5cf878a90db9ea9a25321 (diff) |
gentoo auto-resync : 04:05:2023 - 23:29:09
Diffstat (limited to 'app-containers/nerdctl/nerdctl-1.3.1.ebuild')
-rw-r--r-- | app-containers/nerdctl/nerdctl-1.3.1.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/app-containers/nerdctl/nerdctl-1.3.1.ebuild b/app-containers/nerdctl/nerdctl-1.3.1.ebuild new file mode 100644 index 000000000000..368d3359748d --- /dev/null +++ b/app-containers/nerdctl/nerdctl-1.3.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +EGIT_COMMIT="b224b280ff3086516763c7335fc0e0997aca617a" + +DESCRIPTION="Docker-compatible CLI for containerd, with support for Compose" +HOMEPAGE="https://github.com/containerd/nerdctl" +SRC_URI=" + https://github.com/containerd/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/containerd/${PN}/releases/download/v${PV}/${P}-go-mod-vendor.tar.gz +" + +LICENSE="Apache-2.0 BSD BSD-2 ISC MIT" +SLOT="0" +KEYWORDS="~amd64" + +src_unpack() { + unpack "${P}.tar.gz" + cd "${S}" + unpack "${P}-go-mod-vendor.tar.gz" +} + +src_compile() { + emake VERSION=v${PV} REVISION="${EGIT_COMMIT}" +} + +src_install() { + emake DESTDIR="${D}" VERSION=v${PV} REVISION="${EGIT_COMMIT}" BINDIR="/usr/bin" install + DOCS=( README.md docs/* examples ) + einstalldocs +} |