aboutsummaryrefslogtreecommitdiff
blob: c04166794409550a2390456d2bfe7d7fa56cc5cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6

INTEL_DIST_SKU=8676
INTEL_DIST_PV=2016_update2

inherit intel-sdp-r1

DESCRIPTION="Intel C/C++ Compiler"
HOMEPAGE="http://software.intel.com/en-us/articles/intel-composer-xe/"

LINGUAS="ja"
IUSE="doc examples linguas_ja"
KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"

DEPEND="!dev-lang/ifc[linguas_ja]"
RDEPEND="${DEPEND}
	~dev-libs/intel-common-${PV}[compiler]"

CHECKREQS_DISK_BUILD=500M

INTEL_DIST_BIN_RPMS=(
	"icc-l-all-devel")
INTEL_DIST_DAT_RPMS=(
	"icc-l-all-common"
	"icc-l-all-vars"
	"icc-l-ps-common")
INTEL_DIST_X86_RPMS=(
	"icc-l-all-32"
	"icc-l-ps"
	"icc-l-ps-ss-wrapper")
INTEL_DIST_AMD64_RPMS=(
	"icc-l-all"
	"icc-l-ps-devel"
	"icc-l-ps-ss"
	"icc-l-ps-ss-devel")

pkg_setup() {
	if use doc; then
		INTEL_DIST_DAT_RPMS+=(
			"icc-doc-16.0.2-181.noarch.rpm"
			"icc-ps-doc-16.0.2-181.noarch.rpm"
			"icc-ps-ss-doc-16.0.2-181.noarch.rpm")

		if use linguas_ja; then
			INTEL_DIST_DAT_RPMS+=(
				"icc-ps-doc-jp-16.0.2-181.noarch.rpm")
		fi
	fi
}