1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit toolchain-funcs
8 DESCRIPTION="Run commands as super user or another user, alternative to sudo from OpenBSD"
12 HOMEPAGE="https://github.com/Duncaen/OpenDoas"
13 SRC_URI="https://github.com/Duncaen/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
14 S="${WORKDIR}"/${MY_P}
18 KEYWORDS="~amd64 ~arm"
21 RDEPEND="pam? ( sys-libs/pam )"
27 sed -i 's/-Werror //' Makefile || die
33 --prefix="${EPREFIX}"/usr \
34 --sysconfdir="${EPREFIX}"/etc \