aboutsummaryrefslogtreecommitdiff
blob: 72f1eec6d23dcecce9a76705e0f99ba85e4f5af9 (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
54
55
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

INTEL_DIST_SKU=8676
INTEL_DIST_PV=2016_update2

inherit intel-sdp-r1

DESCRIPTION="Intel FORTRAN 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=400M

INTEL_DIST_BIN_RPMS=(
	"ifort-l-ps"
	"ifort-l-ps-devel")
INTEL_DIST_DAT_RPMS=(
	"fcompxe-2016.2-062.noarch.rpm"
	"ifort-l-ps-common"
	"ifort-l-ps-vars")
INTEL_DIST_X86_RPMS=()
INTEL_DIST_AMD64_RPMS=()

pkg_setup() {
	if use doc; then
		INTEL_DIST_DAT_RPMS+=(
			"fcompxe-doc-2016.2-062.noarch.rpm"
			"ifort-ps-doc-16.0.2-181.noarch.rpm")

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

	if use examples; then
		INTEL_DIST_DAT_RPMS+=(
			"fcomp-doc-2016.2-062.noarch.rpm")
	fi

	if use linguas_ja; then
		INTEL_DIST_BIN_RPMS+=(
			"ifort-l-ps-jp")
	fi
}