29 lines
671 B
Bash
29 lines
671 B
Bash
# Copyright 2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit autotools
|
|
|
|
DESCRIPTION="A container init that is so simple it's effectively brain-dead"
|
|
HOMEPAGE="https://github.com/openSUSE/catatonit"
|
|
SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
|
https://github.com/openSUSE/catatonit/pull/19.patch -> ${P}-automake.patch"
|
|
|
|
LICENSE="GPL-3+"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 arm64 ~ppc64 ~riscv"
|
|
|
|
PATCHES=( "${DISTDIR}/${P}-automake.patch" )
|
|
|
|
src_prepare() {
|
|
default
|
|
|
|
eautoreconf
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
dodir /usr/libexec/podman
|
|
ln "${ED}/usr/"{bin,libexec/podman}/catatonit || die
|
|
}
|