summaryrefslogtreecommitdiff
path: root/sys-apps/rootlesskit/rootlesskit-0.14.2.ebuild
blob: 41eaa47c074033f5309caef93be7f4a2abeb4bb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
inherit go-module

DESCRIPTION="Linux-native \"fake root\" for implementing rootless containers"
HOMEPAGE="https://github.com/rootless-containers/rootlesskit"
SRC_URI="https://github.com/rootless-containers/rootlesskit/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
	https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz"
LICENSE="Apache-2.0 BSD BSD-2 ISC MIT"
SLOT="0"

KEYWORDS="~amd64"
IUSE="selinux"

RDEPEND="selinux? ( sec-policy/selinux-rootlesskit )"

src_prepare() {
	sed -e 's:/usr/local/bin:/usr/bin:' -i Makefile || die
	default
}