# Copyright 2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 inherit eutils git-r3 EGIT_REPO_URI="https://github.com/giuseppe/${PN}.git" EGIT_COMMIT="84884c575a0a4736d4997cff6d936f11157726ad" 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" IUSE="systemd selinux static-libs" DEPEND=" dev-libs/yajl sys-libs/libcap dev-go/go-md2man systemd? ( sys-apps/systemd:= ) selinux? ( sys-libs/libselinux:= ) " RDEPEND="${DEPEND}" src_prepare() { default ./autogen.sh || die } src_configure() { econf \ $(usex static-libs '--enabled-shared --enabled-static' '--enable-shared --disable-static' '' '') }