Adding python3.10, podman
This commit is contained in:
43
app-emulation/conmon/conmon-2.0.24.ebuild
Normal file
43
app-emulation/conmon/conmon-2.0.24.ebuild
Normal file
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
DESCRIPTION="An OCI container runtime monitor"
|
||||
HOMEPAGE="https://github.com/containers/conmon"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="systemd crio +podman"
|
||||
EGIT_COMMIT="59952292a3b07ac125575024ae21956efe0ecdfb"
|
||||
SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
RDEPEND="dev-libs/glib:=
|
||||
systemd? ( sys-apps/systemd:= )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if ! use systemd; then
|
||||
sed -e 's| pkg-config --exists libsystemd-journal | false |' \
|
||||
-e 's| pkg-config --exists libsystemd | false |' \
|
||||
-i Makefile || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/conmon
|
||||
if use podman; then
|
||||
dodir /usr/libexec/podman
|
||||
ln /usr/bin/conmon /usr/libexec/podman/conmon
|
||||
fi
|
||||
if use crio; then
|
||||
dodir /usr/libexec/crio
|
||||
ln /usr/bin/conmon /usr/libexec/crio/conmon
|
||||
fi
|
||||
dodoc README.md
|
||||
}
|
Reference in New Issue
Block a user