1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit toolchain-funcs
8 MY_RELEASEDATE="20190315"
15 if [[ ${PV} == *9999 ]] ; then
17 EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git"
18 S="${WORKDIR}/${MY_P}/${PN}"
20 SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_RELEASEDATE}/${MY_P}.tar.gz"
21 KEYWORDS="amd64 ~arm ~arm64 ~mips x86"
22 S="${WORKDIR}/${MY_P}"
25 DESCRIPTION="SELinux policy module utilities"
26 HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki"
31 DEPEND=">=sys-libs/libsepol-${SEPOL_VER}:="
34 !<sys-apps/policycoreutils-2.7_pre"
39 sed -i 's/-Werror//g' "${S}"/*/Makefile || die "Failed to remove Werror"
43 emake CC="$(tc-getCC)"
47 emake DESTDIR="${D}" \