mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-11 06:56:58 +02:00
app-containers/containers-storage: Sync with Gentoo
It's from Gentoo commit 8081c2bee392b4d4c3df2f451a9cfb7ae5ad110c.
This commit is contained in:
parent
7340606884
commit
cee2e4facb
@ -1 +1,2 @@
|
|||||||
DIST containers-storage-1.55.1.tar.gz 4197824 BLAKE2B 5859e2267096541449aeff8576ad1dc00a72993d123ec5571e775f0081a6bc9cfc588bfd522bf7742bd417314e3a699d51e57127f66c152abb7cf805ffe61464 SHA512 3ba244d28e25c6a88f01a73ff26a4a0747c71124a6191d086d8521e1622f36740cfa0b1cbac56f7699a5af9a7001382e71c32fd0644960a53a97c00fd09a754e
|
DIST containers-storage-1.55.1.tar.gz 4197824 BLAKE2B 5859e2267096541449aeff8576ad1dc00a72993d123ec5571e775f0081a6bc9cfc588bfd522bf7742bd417314e3a699d51e57127f66c152abb7cf805ffe61464 SHA512 3ba244d28e25c6a88f01a73ff26a4a0747c71124a6191d086d8521e1622f36740cfa0b1cbac56f7699a5af9a7001382e71c32fd0644960a53a97c00fd09a754e
|
||||||
|
DIST containers-storage-1.57.2.tar.gz 4258308 BLAKE2B 1d068aaeb984060d1934c55e71824520963f32fe00c19b978e317032408c555c7f0ac028c9900e840a4ba7d1369892669cca15acb4f2d4ce9bdae77e3c29c636 SHA512 f092df52d2b8512d453ca4964304363481ef6bda3d05998654a2e3269fc9494af3a9c7c98f2a6895f6595c43733a4e9ebd39e3b62e1575a036134a8547dc3081
|
||||||
|
@ -0,0 +1,32 @@
|
|||||||
|
# Copyright 1999-2025 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DESCRIPTION="Default config and docs related to Containers' storage"
|
||||||
|
HOMEPAGE="https://github.com/containers/storage"
|
||||||
|
|
||||||
|
if [[ ${PV} == 9999* ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/containers/storage.git"
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/containers/storage/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}/${P#containers-}"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~loong ~riscv"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
BDEPEND=">=dev-go/go-md2man-2.0.2"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake -C docs GOMD2MAN=go-md2man containers-storage.conf.5
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${ED}" -C docs install
|
||||||
|
|
||||||
|
insinto /usr/share/containers
|
||||||
|
doins storage.conf
|
||||||
|
}
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2024 Gentoo Authors
|
# Copyright 1999-2025 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
@ -27,6 +27,6 @@ src_compile() {
|
|||||||
src_install() {
|
src_install() {
|
||||||
emake DESTDIR="${ED}" -C docs install
|
emake DESTDIR="${ED}" -C docs install
|
||||||
|
|
||||||
insinto /etc/containers
|
insinto /usr/share/containers
|
||||||
doins storage.conf
|
doins storage.conf
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user