# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit toolchain-funcs DESCRIPTION="nsjail is a process isolation tool for Linux." HOMEPAGE="https://nsjail.dev/" SRC_URI="https://github.com/google/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64" DEPEND=" dev-libs/protobuf dev-libs/libnl:3 " RDEPEND="${DEPEND}" PATCHES=( "${FILESDIR}/${P}-respect-user-flags.patch" ) src_prepare() { default tc-export CC CXX } src_install() { dobin nsjail dodoc README.md }