diff options
author | Zac Medico <zmedico@gentoo.org> | 2020-07-28 15:01:00 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2020-07-28 15:01:19 -0700 |
commit | e51fb02a4b48570af932a49608df6726834ec7c7 (patch) | |
tree | 8754ddf4fae44dfa8dcb47960b1ee9098b0c9326 /app-emulation/conmon/conmon-2.0.20.ebuild | |
parent | dev-libs/xxhash: version bump to 0.8.0 (diff) | |
download | gentoo-e51fb02a4b48570af932a49608df6726834ec7c7.tar.gz gentoo-e51fb02a4b48570af932a49608df6726834ec7c7.tar.bz2 gentoo-e51fb02a4b48570af932a49608df6726834ec7c7.zip |
app-emulation/conmon: Bump to version 2.0.20
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-emulation/conmon/conmon-2.0.20.ebuild')
-rw-r--r-- | app-emulation/conmon/conmon-2.0.20.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/app-emulation/conmon/conmon-2.0.20.ebuild b/app-emulation/conmon/conmon-2.0.20.ebuild new file mode 100644 index 000000000000..6ffff8db482a --- /dev/null +++ b/app-emulation/conmon/conmon-2.0.20.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="13244db638cf987c415298a3c23393ae5abeb885" +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 +} |