diff options
author | Zac Medico <zmedico@gentoo.org> | 2019-11-01 16:08:26 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2019-11-01 16:08:26 -0700 |
commit | c6796eae37ac69fd211efb7d888b556f3a2f2a35 (patch) | |
tree | 1ff2c25942737f70da7f90414cbe1c0ab727b8de /app-emulation/conmon/conmon-2.0.2.ebuild | |
parent | app-emulation/conmon: Remove old versions (diff) | |
download | gentoo-c6796eae37ac69fd211efb7d888b556f3a2f2a35.tar.gz gentoo-c6796eae37ac69fd211efb7d888b556f3a2f2a35.tar.bz2 gentoo-c6796eae37ac69fd211efb7d888b556f3a2f2a35.zip |
app-emulation/conmon: Bump to version 2.0.2
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-emulation/conmon/conmon-2.0.2.ebuild')
-rw-r--r-- | app-emulation/conmon/conmon-2.0.2.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/app-emulation/conmon/conmon-2.0.2.ebuild b/app-emulation/conmon/conmon-2.0.2.ebuild new file mode 100644 index 000000000000..9a58b4847e72 --- /dev/null +++ b/app-emulation/conmon/conmon-2.0.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +EGIT_COMMIT="65fe0226d85b69fc9e527e376795c9791199153d" +DESCRIPTION="An OCI container runtime monitor" +HOMEPAGE="https://github.com/containers/conmon" +SRC_URI="https://github.com/containers/conmon/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="systemd" + +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() { + 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 +} |