diff options
author | Zac Medico <zmedico@gentoo.org> | 2020-07-15 17:54:45 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2020-07-15 17:54:45 -0700 |
commit | 47dd15c6c03cc18b4125e28b157bfc0f29b1f4da (patch) | |
tree | 307db63cc61b95d4bf55948d6f23db14f32418d4 /app-emulation/conmon/conmon-2.0.19.ebuild | |
parent | app-emulation/libpod: Bump to version 2.0.2 (diff) | |
download | gentoo-47dd15c6c03cc18b4125e28b157bfc0f29b1f4da.tar.gz gentoo-47dd15c6c03cc18b4125e28b157bfc0f29b1f4da.tar.bz2 gentoo-47dd15c6c03cc18b4125e28b157bfc0f29b1f4da.zip |
app-emulation/conmon: Bump to version 2.0.19
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-emulation/conmon/conmon-2.0.19.ebuild')
-rw-r--r-- | app-emulation/conmon/conmon-2.0.19.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/app-emulation/conmon/conmon-2.0.19.ebuild b/app-emulation/conmon/conmon-2.0.19.ebuild new file mode 100644 index 000000000000..5a10a5b8cba6 --- /dev/null +++ b/app-emulation/conmon/conmon-2.0.19.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +EGIT_COMMIT="25585dd8e8ebff68baa00f695115eff4191ca1f9" +DESCRIPTION="An OCI container runtime monitor" +HOMEPAGE="https://github.com/containers/conmon" +SRC_URI="https://github.com/containers/conmon/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="systemd" +RESTRICT="test" + +RDEPEND="dev-libs/glib:= + systemd? ( sys-apps/systemd:= )" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${PN}-${EGIT_COMMIT}" + +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() { + emake GIT_COMMIT="${EGIT_COMMIT}" \ + all +} + +src_install() { + emake DESTDIR="${D}" \ + PREFIX="/usr" \ + install + dodir /usr/libexec/podman + ln "${ED}/usr/"{bin,libexec/podman}/conmon || die + dodoc README.md +} |