diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-11-03 06:47:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-11-03 06:47:15 +0000 |
commit | fc2f1018fc323ef2c6572734a9b130427cba76a6 (patch) | |
tree | f834bdc9a67923ce75297c09d00d1e7b90791d26 /sys-apps/secilc/secilc-3.3.ebuild | |
parent | 162945d2a91899b637bbb9e163b406350de12906 (diff) |
gentoo resync : 03.11.2021
Diffstat (limited to 'sys-apps/secilc/secilc-3.3.ebuild')
-rw-r--r-- | sys-apps/secilc/secilc-3.3.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sys-apps/secilc/secilc-3.3.ebuild b/sys-apps/secilc/secilc-3.3.ebuild new file mode 100644 index 000000000000..04666a2f99df --- /dev/null +++ b/sys-apps/secilc/secilc-3.3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +inherit toolchain-funcs + +DESCRIPTION="SELinux Common Intermediate Language (CIL) Compiler" +HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git" + S="${WORKDIR}/${P}/${PN}" +else + SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${PV}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" +fi + +LICENSE="GPL-2" +SLOT="0" + +DEPEND=">=sys-libs/libsepol-${PV}" +RDEPEND="${DEPEND}" +BDEPEND="app-text/xmlto" + +# tests are not meant to be run outside of the +# full SELinux userland repo +RESTRICT="test" + +src_compile() { + tc-export CC + default +} |