commit: 4f30a828e74b6963fe00891a74465f6d2d6686d2 Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> AuthorDate: Tue Apr 3 03:25:49 2018 +0000 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> CommitDate: Tue Apr 3 03:52:23 2018 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=4f30a828
dev-lang/ifc: version bump to 18.0.2.199 Package-Manager: Portage-2.3.28, Repoman-2.3.9 dev-lang/ifc/ifc-18.0.2.199.ebuild | 40 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/dev-lang/ifc/ifc-18.0.2.199.ebuild b/dev-lang/ifc/ifc-18.0.2.199.ebuild new file mode 100644 index 000000000..eaf1e68cd --- /dev/null +++ b/dev-lang/ifc/ifc-18.0.2.199.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +INTEL_DIST_SKU=3235 +INTEL_DIST_PV=2018_update2_professional_edition + +inherit intel-sdp-r1 + +DESCRIPTION="Intel FORTRAN Compiler" +HOMEPAGE="http://software.intel.com/en-us/articles/intel-composer-xe/" + +IUSE="doc l10n_ja" +KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND="~dev-libs/intel-common-${PV}[compiler]" + +CHECKREQS_DISK_BUILD=400M + +INTEL_DIST_DAT_RPMS=( "ifort-common-18.0.2-199-18.0.2-199.noarch.rpm" ) +INTEL_DIST_X86_RPMS=( "ifort-32bit-18.0.2-199-18.0.2-199.x86_64.rpm" ) +INTEL_DIST_AMD64_RPMS=( "ifort-18.0.2-199-18.0.2-199.x86_64.rpm" ) + +pkg_setup() { + if use doc; then + INTEL_DIST_DAT_RPMS+=( "ifort-doc-18.0-18.0.2-199.noarch.rpm" ) + fi +} + +src_install() { + # already provided in dev-libs/intel-common + rm \ + "${WORKDIR}"/opt/intel/compilers_and_libraries_2018.2.199/linux/compiler/include/omp_lib.f90 \ + "${WORKDIR}"/opt/intel/compilers_and_libraries_2018.2.199/linux/compiler/include/intel64/omp_lib.mod \ + "${WORKDIR}"/opt/intel/compilers_and_libraries_2018.2.199/linux/compiler/include/intel64/omp_lib_kinds.mod \ + || die "rm failed" + + intel-sdp-r1_src_install +}
