DIST secilc-2.5.tar.gz 174642 SHA256 4303d911c06ee5c207e00f778ca786c1a6efa2554a562f5d014dbc0d2f4cc4a4 SHA512 7f7b6fb72bee7018f7a591e6a7d8f58a81ed0e1ec914e0792ccd57a550756a5e21c6359e35ad2fe29225a0bd352637d01288721de3b95a9a175bb3ab052620b9 WHIRLPOOL e674039433041f527a1346ad64887254fa4d7f37f3125b08edcf1e16e23f1d40e1b1151cf6e10d4875d849c43a6b39af0069185303f23b5f331b39c1433deb0e
+DIST secilc-2.6-rc1.tar.gz 174555 SHA256 201b30905e84704d0083f8bc20322c2e2f44b0b047234364fb654a5525c0ec5e SHA512 4e2608bbe3b970bed9838dcf9518e06cd049cd3bb977e83a6e1072390867edc519bac12b02dd8130cf3af5c3a2b1571910d6033c5ccb58d479e6b3b853d105c2 WHIRLPOOL 8390e497e5b3c2bcda72cc64342dc29b44318b4df465b6e128126f716f8db060112778a9cba36a5341ac0189acb44630f5c97b2e876047d882d060d4d276b7f4
--- /dev/null
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+MY_P="${P//_/-}"
+MY_RELEASEDATE="20160930"
+
+SEPOL_VER="${PV}"
+
+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}/${MY_P}/${PN}"
+else
+ SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+ S="${WORKDIR}/${MY_P}"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+ app-text/xmlto
+ >=sys-libs/libsepol-${SEPOL_VER}
+ "
+RDEPEND="
+ >=sys-libs/libsepol-${SEPOL_VER}
+ "
+
+# tests are not meant to be run outside of the
+# full SELinux userland repo
+RESTRICT="test"
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="5"
-
-inherit toolchain-funcs eutils
+EAPI="6"
MY_P="${P//_/-}"
-MY_RELEASEDATE="20160223"
+MY_RELEASEDATE="20160930"
SEPOL_VER="${PV}"
# tests are not meant to be run outside of the
# full SELinux userland repo
RESTRICT="test"
-
-src_prepare() {
- epatch_user
-}