app-containers/catatonit: Sync with Gentoo

It's from Gentoo commit 82e9dbafab640fe828108704472f613a6e2b0c6a.
This commit is contained in:
Flatcar Buildbot 2025-02-25 12:33:58 +01:00 committed by Krzesimir Nowak
parent 78efa0b3d6
commit 58d79b1914
2 changed files with 32 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST catatonit-0.2.0.tar.gz 16608 BLAKE2B 27b6ed1148aaef963140c42e2cb6a7a8c9c25f01eef62cf519c3b1c230c8f30838f5b9cb54bf0b37b1194084f3f0c750e20316738a330d6a01c830b71b45623c SHA512 115e72002e35bb2a03919f9422a9cb2d9a0e4f087862d4ffd20e9508af6d67efc359a577ec059574f2f6c98966a1f080b65dffc8dfb83b3c2ed48e63e2aeac3b
DIST catatonit-0.2.1.tar.gz 18479 BLAKE2B df489287a3c134fa0f9188a1c8bfd05b085b2173b733be3d3bc8f7e99ac2bd8529815a2fe33e09e15a6609e8310cda7ff3f6b51270ed687a4f217d40dd603655 SHA512 39fb66900e9c9541470a70bec66dc77cf04ef237aa69bbc4fbb4025ef3de5c335f8b28cb41d60cd4525683a61d270dc8582b200606c474817035a0ffd9afb849

View File

@ -0,0 +1,31 @@
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="A container init that is so simple it's effectively brain-dead"
HOMEPAGE="https://github.com/openSUSE/catatonit"
if [[ ${PV} == 9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/openSUSE/catatonit.git"
else
SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv"
fi
LICENSE="GPL-2+"
SLOT="0"
src_prepare() {
default
eautoreconf
}
src_install() {
default
dodir /usr/libexec/podman
dosym -r /usr/bin/"${PN}" /usr/libexec/podman/"${PN}"
}