/[gentoo-x86]/sys-apps/secilc/secilc-9999.ebuild
Gentoo

Contents of /sys-apps/secilc/secilc-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Jun 9 15:41:47 2015 UTC (4 years, 4 months ago) by swift
Branch: MAIN
CVS Tags: HEAD
Adding secilc-9999 to better support upstream integrations

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x2EDD52403B68AF47)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/libsepol-2.4.ebuild,v 1.2 2015/05/10 09:01:24 perfinion Exp $
4
5 EAPI="5"
6
7 inherit toolchain-funcs eutils
8
9 MY_P="${P//_/-}"
10 MY_RELEASEDATE="20150202"
11
12 SEPOL_VER="${PV}"
13
14 DESCRIPTION="SELinux Common Intermediate Language (CIL) Compiler"
15 HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki"
16
17 if [[ ${PV} == 9999 ]]; then
18 inherit git-r3
19 EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git"
20 S="${WORKDIR}/${MY_P}/${PN}"
21 else
22 SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz"
23 KEYWORDS="~amd64 ~x86"
24 S="${WORKDIR}/${MY_P}"
25 fi
26
27 LICENSE="GPL-2"
28 SLOT="0"
29 IUSE=""
30
31 DEPEND="
32 app-text/xmlto
33 >=sys-libs/libsepol-${SEPOL_VER}
34 "
35 RDEPEND="
36 >=sys-libs/libsepol-${SEPOL_VER}
37 "
38
39 # tests are not meant to be run outside of the
40 # full SELinux userland repo
41 RESTRICT="test"
42
43 src_prepare() {
44 epatch_user
45 }

  ViewVC Help
Powered by ViewVC 1.1.20