From 07528063cf6489c7228de3fbb8794b3bbadc4a48 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Thu, 4 Jul 2024 12:16:09 +0200 Subject: [PATCH] app-containers/catatonit: Sync with Gentoo It's from Gentoo commit 4b4ba23921db9ceaf475d879df63e7b6523362ef. --- .../catatonit/catatonit-9999.ebuild | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/app-containers/catatonit/catatonit-9999.ebuild diff --git a/sdk_container/src/third_party/portage-stable/app-containers/catatonit/catatonit-9999.ebuild b/sdk_container/src/third_party/portage-stable/app-containers/catatonit/catatonit-9999.ebuild new file mode 100644 index 0000000000..74469d9d4d --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-containers/catatonit/catatonit-9999.ebuild @@ -0,0 +1,31 @@ +# Copyright 2022-2023 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 ~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}" +}