# Copyright 2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 EGIT_COMMIT="f81874f45b7c276e66c29a22116af82257889978" EGIT_SUBMODULES=( '*' ) EGIT_PN="github.com/giuseppe/${PN}" EGIT_REPO_URI="https://${EGIT_PN}.git" inherit git-r3 systemd DESCRIPTION="A fast and low-memory footprint OCI Container Runtime fully written in C" HOMEPAGE="https://github.com/giuseppe/crun" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="systemd selinux" RDEPEND=" dev-libs/yajl sys-libs/libcap dev-go/go-md2man systemd? ( sys-apps/systemd:= ) selinux? ( sys-libs/libselinux:= ) " DEPEND="${RDEPEND}" src_unpack() { if [[ ${PV} == "9999" ]]; then git-r3_fetch ${EGIT_REPO_URI} else git-r3_fetch ${EGIT_REPO_URI} ${EGIT_COMMIT} fi git-r3_checkout } src_prepare() { default ./autogen.sh || die }