summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-lang/ifc/ChangeLog13
-rw-r--r--dev-lang/ifc/files/6.0/05icc-ifc6
-rw-r--r--dev-lang/ifc/files/7.0.064-r1/05icc-ifc6
-rw-r--r--dev-lang/ifc/files/7.0.064-r1/ifc4
-rw-r--r--dev-lang/ifc/files/7.0.064/05icc-ifc6
-rw-r--r--dev-lang/ifc/files/7.1.008/05icc-ifc4
-rw-r--r--dev-lang/ifc/files/7.1.008/ifc4
-rw-r--r--dev-lang/ifc/files/9.0/05ifc6
-rw-r--r--dev-lang/ifc/files/digest-ifc-6.01
-rw-r--r--dev-lang/ifc/files/digest-ifc-7.0.064-r11
-rw-r--r--dev-lang/ifc/files/digest-ifc-7.1.0081
-rw-r--r--dev-lang/ifc/files/digest-ifc-8.1.0261
-rw-r--r--dev-lang/ifc/files/digest-ifc-8.1.0271
-rw-r--r--dev-lang/ifc/files/digest-ifc-9.0.0211
-rw-r--r--dev-lang/ifc/files/digest-ifc-9.0.0261
-rw-r--r--dev-lang/ifc/files/digest-ifc-9.0.0313
-rw-r--r--dev-lang/ifc/files/digest-ifc-9.1.0363
-rw-r--r--dev-lang/ifc/ifc-6.0.ebuild88
-rw-r--r--dev-lang/ifc/ifc-7.0.064-r1.ebuild104
-rw-r--r--dev-lang/ifc/ifc-7.1.008.ebuild87
-rw-r--r--dev-lang/ifc/ifc-8.1.026.ebuild75
-rw-r--r--dev-lang/ifc/ifc-8.1.027.ebuild75
-rw-r--r--dev-lang/ifc/ifc-9.0.021.ebuild128
-rw-r--r--dev-lang/ifc/ifc-9.0.026.ebuild128
-rw-r--r--dev-lang/ifc/ifc-9.0.031.ebuild128
-rw-r--r--dev-lang/ifc/ifc-9.1.036.ebuild131
26 files changed, 11 insertions, 995 deletions
diff --git a/dev-lang/ifc/ChangeLog b/dev-lang/ifc/ChangeLog
index afdf15282161..c3e83b76aa30 100644
--- a/dev-lang/ifc/ChangeLog
+++ b/dev-lang/ifc/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for dev-lang/ifc
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ifc/ChangeLog,v 1.21 2006/11/16 06:26:51 dberkholz Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ifc/ChangeLog,v 1.22 2007/03/05 15:49:56 caleb Exp $
+
+ 05 Mar 2007; Caleb Tennis <caleb@gentoo.org> -files/6.0/05icc-ifc,
+ -files/7.0.064-r1/05icc-ifc, -files/7.0.064-r1/ifc,
+ -files/7.0.064/05icc-ifc, -files/7.1.008/05icc-ifc, -files/7.1.008/ifc,
+ -files/9.0/05ifc, -ifc-6.0.ebuild, -ifc-7.0.064-r1.ebuild,
+ -ifc-7.1.008.ebuild, -ifc-8.1.026.ebuild, -ifc-8.1.027.ebuild,
+ -ifc-9.0.021.ebuild, -ifc-9.0.026.ebuild, -ifc-9.0.031.ebuild,
+ -ifc-9.1.036.ebuild:
+ big time cleanup, see icc for related cleanup
*ifc-9.1.040 (16 Nov 2006)
diff --git a/dev-lang/ifc/files/6.0/05icc-ifc b/dev-lang/ifc/files/6.0/05icc-ifc
deleted file mode 100644
index f5f50b9cc29f..000000000000
--- a/dev-lang/ifc/files/6.0/05icc-ifc
+++ /dev/null
@@ -1,6 +0,0 @@
-IA32ROOT=/opt/intel/compiler60/ia32
-INTEL_FLEXLM_LICENSE=/opt/intel/licenses
-LDPATH=/opt/intel/compiler60/ia32/lib
-MANPATH=/opt/intel/compiler60/man
-PATH=/opt/intel/compiler60/ia32/bin
-ROOTPATH=/opt/intel/compiler60/ia32/bin
diff --git a/dev-lang/ifc/files/7.0.064-r1/05icc-ifc b/dev-lang/ifc/files/7.0.064-r1/05icc-ifc
deleted file mode 100644
index 7134ac814afd..000000000000
--- a/dev-lang/ifc/files/7.0.064-r1/05icc-ifc
+++ /dev/null
@@ -1,6 +0,0 @@
-IA32ROOT=/opt/intel/compiler70/ia32
-INTEL_FLEXLM_LICENSE=/opt/intel/licenses
-LDPATH=/opt/intel/compiler70/ia32/lib
-MANPATH=/opt/intel/compiler70/man
-PATH=/opt/intel/compiler70/ia32/bin
-ROOTPATH=/opt/intel/compiler70/ia32/bin
diff --git a/dev-lang/ifc/files/7.0.064-r1/ifc b/dev-lang/ifc/files/7.0.064-r1/ifc
deleted file mode 100644
index 03a76f00bc51..000000000000
--- a/dev-lang/ifc/files/7.0.064-r1/ifc
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-export INTEL_LICENSE_FILE="/opt/intel/licenses"
-export LD_LIBRARY_PATH="/opt/intel/compiler70/ia32/lib"
-/opt/intel/compiler70/ia32/bin/ifcbin $*
diff --git a/dev-lang/ifc/files/7.0.064/05icc-ifc b/dev-lang/ifc/files/7.0.064/05icc-ifc
deleted file mode 100644
index 7134ac814afd..000000000000
--- a/dev-lang/ifc/files/7.0.064/05icc-ifc
+++ /dev/null
@@ -1,6 +0,0 @@
-IA32ROOT=/opt/intel/compiler70/ia32
-INTEL_FLEXLM_LICENSE=/opt/intel/licenses
-LDPATH=/opt/intel/compiler70/ia32/lib
-MANPATH=/opt/intel/compiler70/man
-PATH=/opt/intel/compiler70/ia32/bin
-ROOTPATH=/opt/intel/compiler70/ia32/bin
diff --git a/dev-lang/ifc/files/7.1.008/05icc-ifc b/dev-lang/ifc/files/7.1.008/05icc-ifc
deleted file mode 100644
index 83675cb1c8af..000000000000
--- a/dev-lang/ifc/files/7.1.008/05icc-ifc
+++ /dev/null
@@ -1,4 +0,0 @@
-LDPATH=/opt/intel/compiler70/ia32/lib
-MANPATH=/opt/intel/compiler70/man
-PATH=/opt/intel/compiler70/ia32/bin
-ROOTPATH=/opt/intel/compiler70/ia32/bin
diff --git a/dev-lang/ifc/files/7.1.008/ifc b/dev-lang/ifc/files/7.1.008/ifc
deleted file mode 100644
index 03a76f00bc51..000000000000
--- a/dev-lang/ifc/files/7.1.008/ifc
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-export INTEL_LICENSE_FILE="/opt/intel/licenses"
-export LD_LIBRARY_PATH="/opt/intel/compiler70/ia32/lib"
-/opt/intel/compiler70/ia32/bin/ifcbin $*
diff --git a/dev-lang/ifc/files/9.0/05ifc b/dev-lang/ifc/files/9.0/05ifc
deleted file mode 100644
index c607776350a2..000000000000
--- a/dev-lang/ifc/files/9.0/05ifc
+++ /dev/null
@@ -1,6 +0,0 @@
-IA32ROOT=/opt/intel/fortran90
-INTEL_FLEXLM_LICENSE=/opt/intel/fortran90/licenses
-LDPATH=/opt/intel/fortran90/lib
-MANPATH=/opt/intel/fortran90/man
-PATH=/opt/intel/fortran90/bin
-ROOTPATH=/opt/intel/fortran90/bin
diff --git a/dev-lang/ifc/files/digest-ifc-6.0 b/dev-lang/ifc/files/digest-ifc-6.0
deleted file mode 100644
index 037ef0017fbd..000000000000
--- a/dev-lang/ifc/files/digest-ifc-6.0
+++ /dev/null
@@ -1 +0,0 @@
-MD5 7eb172e4148261373e43fda07bb7aaf7 l_fc_p_6.0.140.tar 53882880
diff --git a/dev-lang/ifc/files/digest-ifc-7.0.064-r1 b/dev-lang/ifc/files/digest-ifc-7.0.064-r1
deleted file mode 100644
index 57c793e8ecf4..000000000000
--- a/dev-lang/ifc/files/digest-ifc-7.0.064-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 43a618fbdd8ce01917c5ae656f58bfe4 l_fc_p_7.0.064.tar 88709120
diff --git a/dev-lang/ifc/files/digest-ifc-7.1.008 b/dev-lang/ifc/files/digest-ifc-7.1.008
deleted file mode 100644
index 6217cb80ce83..000000000000
--- a/dev-lang/ifc/files/digest-ifc-7.1.008
+++ /dev/null
@@ -1 +0,0 @@
-MD5 2744d0c30fedcf40a571db8946e4a1b4 l_fc_p_7.1.008.tar 83005440
diff --git a/dev-lang/ifc/files/digest-ifc-8.1.026 b/dev-lang/ifc/files/digest-ifc-8.1.026
deleted file mode 100644
index b2bc22610f32..000000000000
--- a/dev-lang/ifc/files/digest-ifc-8.1.026
+++ /dev/null
@@ -1 +0,0 @@
-MD5 e5dcd0eeab8dcf658985069dbf1c3329 l_fc_pc_8.1.026.tar.gz 90387699
diff --git a/dev-lang/ifc/files/digest-ifc-8.1.027 b/dev-lang/ifc/files/digest-ifc-8.1.027
deleted file mode 100644
index 7c896b911feb..000000000000
--- a/dev-lang/ifc/files/digest-ifc-8.1.027
+++ /dev/null
@@ -1 +0,0 @@
-MD5 b710fc6e85f7362533461106c404c663 l_fce_pc_8.1.027.tar.gz 19700555
diff --git a/dev-lang/ifc/files/digest-ifc-9.0.021 b/dev-lang/ifc/files/digest-ifc-9.0.021
deleted file mode 100644
index 968c1fde438b..000000000000
--- a/dev-lang/ifc/files/digest-ifc-9.0.021
+++ /dev/null
@@ -1 +0,0 @@
-MD5 0bebb51616ad6d127cba05ebc3a8b890 l_fc_p_9.0.021.tar.gz 128145282
diff --git a/dev-lang/ifc/files/digest-ifc-9.0.026 b/dev-lang/ifc/files/digest-ifc-9.0.026
deleted file mode 100644
index c3a2df70d673..000000000000
--- a/dev-lang/ifc/files/digest-ifc-9.0.026
+++ /dev/null
@@ -1 +0,0 @@
-MD5 7c134ed1698e3225f52fffbd56d92964 l_fc_c_9.0.026.tar.gz 129312542
diff --git a/dev-lang/ifc/files/digest-ifc-9.0.031 b/dev-lang/ifc/files/digest-ifc-9.0.031
deleted file mode 100644
index 37108cbd72b6..000000000000
--- a/dev-lang/ifc/files/digest-ifc-9.0.031
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 428f476f520f24255d5ede1df216c029 l_fc_c_9.0.031.tar.gz 131249511
-RMD160 7800ecfca54f5f3dc41760a91af757b0c72c65a2 l_fc_c_9.0.031.tar.gz 131249511
-SHA256 a7c49820320cda4dc56e9d2416a04bb897262cd1dab6ca49a5b981da1cfcd3d6 l_fc_c_9.0.031.tar.gz 131249511
diff --git a/dev-lang/ifc/files/digest-ifc-9.1.036 b/dev-lang/ifc/files/digest-ifc-9.1.036
deleted file mode 100644
index 286a2a8a4eda..000000000000
--- a/dev-lang/ifc/files/digest-ifc-9.1.036
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 203f59c4cc37aa7b7d629b993978ab93 l_fc_c_9.1.036.tar.gz 138264428
-RMD160 c77f0a89a82adfb4f6da3b149145450695e4621e l_fc_c_9.1.036.tar.gz 138264428
-SHA256 bacb30d8a3c67b641615c8d32fe02f68fad14cd87c2689333566866961e4193c l_fc_c_9.1.036.tar.gz 138264428
diff --git a/dev-lang/ifc/ifc-6.0.ebuild b/dev-lang/ifc/ifc-6.0.ebuild
deleted file mode 100644
index 49d0014e3d0e..000000000000
--- a/dev-lang/ifc/ifc-6.0.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ifc/ifc-6.0.ebuild,v 1.16 2005/10/01 16:19:57 ribosome Exp $
-
-S=${WORKDIR}
-DESCRIPTION="Intel Fortran Compiler - The Pentium optimized compiler for Linux"
-
-SRC_URI1="http://developer.intel.com/software/products/compilers/downloads/l_fc_p_6.0.140.tar"
-SRC_URI2="ftp://download.intel.com/software/products/compilers/downloads/l_fc_p_6.0.140.tar"
-SRC_URI3="ftp://download.intel.co.jp/software/products/compilers/downloads/l_fc_p_6.0.140.tar"
-SRC_URI="${SRC_URI1} ${SRC_URI2} ${SRC_URI3}"
-
-HOMEPAGE="http://www.intel.com/software/products/compilers/flin/"
-
-# The ifc-6 license is the same copy with minimal name changes.
-LICENSE="icc-6.0"
-SLOT="0"
-KEYWORDS="-* x86"
-IUSE=""
-
-
-DEPEND=">=virtual/linux-sources-2.4
- >=sys-libs/glibc-2.2.2
- app-arch/cpio
- app-arch/rpm"
-
-RDEPEND=">=virtual/linux-sources-2.4
- >=sys-libs/glibc-2.2.2"
-
-src_compile() {
- # Keep disk space to a minimum
- rm -f intel-*.ia64.rpm
-
- mkdir opt
-
- for x in intel-*.i386.rpm
- do
- einfo "Extracting: ${x}"
- rpm2cpio ${x} | cpio --extract --make-directories --unconditional
- done
-
- # From UNTAG_CFG_FILES in 'install'
- SD=${S}/opt/intel # Build DESTINATION
- RD=/opt/intel # Real DESTINATION
- for FILE in $(find $SD/compiler60/ia??/bin/ -regex '.*[ei][cf]p?c$\|.*cfg$\|.*pcl$\|.*vars[^/]*.c?sh$' 2>/dev/null)
- do
- sed s@\<INSTALLDIR\>@$RD@g ${FILE} > ${FILE}.abs
- mv -f ${FILE}.abs ${FILE}
- chmod 755 ${FILE}
- done
-
- # From UNTAG_SUPPORT in 'install'
- eval `grep "^[ ]*COMBOPACKAGEID=" install`
-
- SUPPORTFILE=${SD}/compiler60/docs/fsupport
- sed s@\<INSTALLTIMECOMBOPACKAGEID\>@$COMBOPACKAGEID@g $SUPPORTFILE > $SUPPORTFILE.abs
- mv $SUPPORTFILE.abs $SUPPORTFILE
- chmod 644 $SUPPORTFILE
-
- SUPPORTFILE=${SD}/compiler60/docs/ldbsupport
- sed s@\<INSTALLTIMECOMBOPACKAGEID\>@$COMBOPACKAGEID@g $SUPPORTFILE > $SUPPORTFILE.abs
- mv $SUPPORTFILE.abs $SUPPORTFILE
- chmod 644 $SUPPORTFILE
-}
-
-src_install () {
- dodoc lgpltext
- dodoc flicense
- cp -pPR opt ${D}
-
- # ifc enviroment
- insinto /etc/env.d
- doins ${FILESDIR}/${PVR}/05icc-ifc
-}
-
-pkg_postinst () {
- einfo
- einfo "http://www.intel.com/software/products/compilers/f60l/f60l_noncom_lic.htm"
- einfo "From the above url you can get a free, non-time limited, non-commercial"
- einfo "personal use license key that comes with no support. You will need to read"
- einfo "and agree to the license and then fill in your info to have one emailed to"
- einfo "you. Read the website for the details."
- einfo
- einfo "Documentation can be found in /opt/intel/compiler60/docs/ ."
- einfo
- einfo "You will need to place your license in /opt/intel/licenses/ ."
- einfo
-}
diff --git a/dev-lang/ifc/ifc-7.0.064-r1.ebuild b/dev-lang/ifc/ifc-7.0.064-r1.ebuild
deleted file mode 100644
index 35b956a58b9b..000000000000
--- a/dev-lang/ifc/ifc-7.0.064-r1.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ifc/ifc-7.0.064-r1.ebuild,v 1.10 2005/10/01 16:19:57 ribosome Exp $
-
-inherit rpm
-
-S=${WORKDIR}
-DESCRIPTION="Intel Fortran Compiler - The Pentium optimized compiler for Linux"
-
-SRC_URI1="http://developer.intel.com/software/products/compilers/downloads/l_fc_p_7.0.064.tar"
-SRC_URI2="ftp://download.intel.com/software/products/compilers/downloads/l_fc_p_7.0.064.tar"
-SRC_URI3="ftp://download.intel.co.jp/software/products/compilers/downloads/l_fc_p_7.0.064.tar"
-SRC_URI="${SRC_URI1} ${SRC_URI2} ${SRC_URI3}"
-
-HOMEPAGE="http://developer.intel.com/software/products/compilers/flin/"
-
-# Effectively the same license as icc
-LICENSE="icc-7.0"
-SLOT="0"
-KEYWORDS="-* x86"
-IUSE=""
-
-DEPEND=">=virtual/linux-sources-2.4
- >=sys-libs/glibc-2.2.4"
-
-RDEPEND=">=virtual/linux-sources-2.4
- >=sys-libs/glibc-2.2.4"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- # Keep disk space to a minimum
- rm -f intel-*.ia64.rpm
-
- for x in intel-*.i386.rpm
- do
- rpm_unpack $x
- done
-}
-
-src_compile() {
-
- # From UNTAG_CFG_FILES in 'install'
- SD=${S}/opt/intel # Build DESTINATION
- RD=/opt/intel # Real DESTINATION
- for FILE in $(find $SD/compiler70/ia??/bin/ -regex '.*[ei][cf]p?c$\|.*cfg$\|.*pcl$\|.*vars[^/]*.c?sh$' 2>/dev/null)
- do
- sed s@\<INSTALLDIR\>@$RD@g ${FILE} > ${FILE}.abs
- mv -f ${FILE}.abs ${FILE}
- chmod 755 ${FILE}
- done
-
- # From UNTAG_SUPPORT in 'install'
- eval `grep "^[ ]*COMBOPACKAGEID=" install`
-
- SUPPORTFILE=${SD}/compiler70/docs/fsupport
- sed s@\<INSTALLTIMECOMBOPACKAGEID\>@$COMBOPACKAGEID@g $SUPPORTFILE > $SUPPORTFILE.abs
- mv $SUPPORTFILE.abs $SUPPORTFILE
- chmod 644 $SUPPORTFILE
-
- SUPPORTFILE=${SD}/compiler70/docs/idbsupport
- sed s@\<INSTALLTIMECOMBOPACKAGEID\>@$COMBOPACKAGEID@g $SUPPORTFILE > $SUPPORTFILE.abs
- mv $SUPPORTFILE.abs $SUPPORTFILE
- chmod 644 $SUPPORTFILE
-
- # these should not be executable
- find "${SD}/compiler70/"{docs,man,training,ia32/include} -type f -exec chmod -x "{}" ";"
- find "${SD}/compiler70/ia32/lib" -name \*.a -exec chmod -x "{}" ";"
-}
-
-src_install () {
- dodoc flicense
- cp -pPR opt ${D}
-
- # ifc enviroment
- insinto /etc/env.d
- doins ${FILESDIR}/${PVR}/05icc-ifc
- # fix the issue with the primary ifc executable
- exeinto /opt/intel/compiler70/ia32/bin
- doexe ${FILESDIR}/${PVR}/ifc
-}
-
-pkg_postinst () {
- einfo
- einfo "http://www.intel.com/software/products/compilers/flin/noncom.htm"
- einfo "From the above url you can get a free, non-time limited, non-commercial"
- einfo "personal use license key that comes with no support. You will need to read"
- einfo "and agree to the license and then fill in your info to have one emailed to"
- einfo "you. Read the website for the details."
- einfo
- einfo "Documentation can be found in /opt/intel/compiler70/docs/"
- einfo
- einfo "You will need to place your license in /opt/intel/licenses/"
- einfo
- ewarn
- ewarn "Packages compiled with older versions of icc will need"
- ewarn "to be recompiled. Until you do that, old packages will"
- ewarn "work if you edit /etc/ld.so.conf and change 'compiler70'"
- ewarn "to 'compiler60' and run 'ldconfig.' Note that this edit"
- ewarn "won't persist and will require you to re-edit after each"
- ewarn "package you re-install."
- ewarn "Due to a bug in ifc 7.0, the primary executable (ifc) may not work."
- ewarn "Instead of invoking the compiler as ifc, use ifcbin."
-}
diff --git a/dev-lang/ifc/ifc-7.1.008.ebuild b/dev-lang/ifc/ifc-7.1.008.ebuild
deleted file mode 100644
index c8638b8fe047..000000000000
--- a/dev-lang/ifc/ifc-7.1.008.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ifc/ifc-7.1.008.ebuild,v 1.3 2005/05/26 22:50:39 kugelfang Exp $
-
-inherit rpm
-
-DESCRIPTION="Intel Fortran Compiler 7.1 for Linux"
-# Try it on non-Intel x86 processors. It works on my Athlon.
-HOMEPAGE="http://www.intel.com/software/products/compilers/flin/"
-SRC_URI1="ftp://download.intel.com/software/products/compilers/downloads/l_fc_p_${PV}.tar"
-SRC_URI2="http://www.intel.com/software/products/compilers/downloads/l_fc_p_${PV}.tar"
-SRC_URI3="ftp://download.intel.co.jp/software/products/compilers/downloads/l_fc_p_${PV}.tar"
-SRC_URI="${SRC_URI1} ${SRC_URI2} ${SRC_URI3}"
-
-KEYWORDS="-* ~x86"
-SLOT="0"
-LICENSE="icc-7.0" # Effectively the same license as icc
-IUSE=""
-
-DEPEND=">=virtual/linux-sources-2.4
- >=sys-libs/glibc-2.2.4"
-
-RDEPEND=">=virtual/linux-sources-2.4
- >=sys-libs/glibc-2.2.4"
-
-S=${WORKDIR}
-
-src_unpack() {
- unpack ${A}
-
- for x in intel-*.i386.rpm;
- do
- rpm_unpack ${x} || die "Failed to unpack rpms.";
- done
-
- # From UNTAG_CFG_FILES() in Intel's 'install' script:
- SD=${S}/opt/intel # Build DESTINATION
- RD=/opt/intel # Real DESTINATION
- for FILE in $(find $SD/compiler70/ia??/bin/ -regex '.*[ei][cf]p?c$\|.*cfg$\|.*pcl$\|.*vars[^/]*.c?sh$' 2>/dev/null)
- do
- sed s@\<INSTALLDIR\>@$RD@g ${FILE} > ${FILE}.abs
- mv -f ${FILE}.abs ${FILE}
- chmod 755 ${FILE}
- done
-
-# replace tags with package id in special files (from UNTAG_SUPPORT() in Intel's 'install' script)
- eval `grep "^[ ]*COMBOPACKAGEID=" install`
-
- SUPPORTFILE=${SD}/compiler70/docs/fsupport
- sed s@\<INSTALLTIMECOMBOPACKAGEID\>@$COMBOPACKAGEID@g $SUPPORTFILE > $SUPPORTFILE.abs
- mv $SUPPORTFILE.abs $SUPPORTFILE
- chmod 644 $SUPPORTFILE
-
- SUPPORTFILE=${SD}/compiler70/docs/idbsupport
- sed s@\<INSTALLTIMECOMBOPACKAGEID\>@$COMBOPACKAGEID@g $SUPPORTFILE > $SUPPORTFILE.abs
- mv $SUPPORTFILE.abs $SUPPORTFILE
- chmod 644 $SUPPORTFILE
-}
-
-src_install () {
- mv -f opt ${D}
-
- insinto /etc/env.d
- doins ${FILESDIR}/${PVR}/05icc-ifc
-
- # fix the issue with the primary ifc executable
- exeinto /opt/intel/compiler70/ia32/bin
- doexe ${FILESDIR}/${PVR}/ifc
-}
-
-pkg_postinst() {
- einfo
- einfo "http://www.intel.com/software/products/compilers/flin/noncom.htm"
- einfo
- einfo "From the above url you can get a free, non-time limited, non-commercial"
- einfo "personal use license key that comes with no support. You will need to read"
- einfo "and agree to the license and then fill in your info to have one emailed to"
- einfo "you. Read the website for details."
- einfo
- einfo "You will need to place your license in /opt/intel/licenses/"
- einfo
- einfo "Note that if you are upgrading from an older version you do not need a new"
- einfo "license."
- einfo
- einfo "Documentation for the compiler can be found in /opt/intel/compiler70/docs/"
- einfo
-}
diff --git a/dev-lang/ifc/ifc-8.1.026.ebuild b/dev-lang/ifc/ifc-8.1.026.ebuild
deleted file mode 100644
index 45ff9f27d630..000000000000
--- a/dev-lang/ifc/ifc-8.1.026.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ifc/ifc-8.1.026.ebuild,v 1.1 2005/05/26 22:50:39 kugelfang Exp $
-
-inherit rpm
-
-DESCRIPTION="Intel Fortran Compiler 8.1 for Linux"
-HOMEPAGE="http://www.intel.com/software/products/compilers/flin/"
-SRC_URI="l_fc_pc_${PV}.tar.gz"
-# no EM64T version of 8.1.026
-KEYWORDS="-* ~ia64 ~x86"
-SLOT="8.1"
-LICENSE="ifc-8.1"
-IUSE=""
-
-RESTRICT="nostrip fetch"
-RDEPEND="amd64? ( app-emulation/emul-linux-x86-baselibs )"
-
-S=${WORKDIR}
-
-src_unpack() {
- unpack ${A}
- case ${ARCH} in
- x86|amd64)
- rpm_unpack ${S}/intel-*.i386.rpm || die "Failed to unpack rpms!"
- ;;
- ia64)
- rpm_unpack ${S}/intel-*.ia64.rpm || die "Failed to unpack rpms!"
- ;;
- *)
- eerror "Wrong architecture. The Intel Fortran Compiler can only be used on x86, amd64 and ia64."
- die "Wrong architecture !"
- esac
- rm -Rf ${S}/${P/ifc-/l_fc\*_p\*_}
-}
-
-src_compile() {
- return
-}
-
-src_install() {
- mv ${S}/opt ${D}/
-
- local SUFFIX
- use amd64 && SUFFIX="e"
-
- for FILE in ${D}/opt/intel_fc${SUFFIX}_80/bin/{ifc,ifort}; do
- sed -i \
- -e "s|<INSTALLDIR>|/opt/intel_fc${SUFFIX}_80|g" \
- -e "s|^EFI2_INCLUDE1=.*|EFI2_INCLUDE1=\$(gcc-config -X); \
- EFI2_INCLUDE1=\${EFI2_INCLUDE1##*:}; export EFI2_INCLUDE1;|g" \
- -e "s|/usr/lib/gcc-lib/x86_64-redhat-linux|/usr/${CHOST}|g" \
- -e "s|/usr/local/include|/usr/include|g" ${FILE} \
- || die "sed failed! (${FILE})"
- chmod 755 ${FILE}
- done
-}
-
-pkg_postinst() {
- local SUFFIX
- use amd64 && SUFFIX="e"
- einfo
- einfo "http://www.intel.com/software/products/compilers/flin/noncom.htm"
- einfo
- einfo "From the above url you can get a free, non-time limited, non-commercial"
- einfo "personal use license key that comes with no support. You will need to read"
- einfo "and agree to the license and then fill in your info to have one emailed to"
- einfo "you. Read the website for details."
- einfo
- einfo "The Intel Fortran Compiler needs your license file in either /opt/intel_fc${SUFFIX}_80/licenses/"
- einfo "or in a location that INTEL_LICENSE_FILE points to."
- einfo
- einfo "Documentation for the compiler can be found in /opt/intel_fc${SUFFIX}_80/doc/"
- einfo
-}
diff --git a/dev-lang/ifc/ifc-8.1.027.ebuild b/dev-lang/ifc/ifc-8.1.027.ebuild
deleted file mode 100644
index 6c32a6dfa266..000000000000
--- a/dev-lang/ifc/ifc-8.1.027.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ifc/ifc-8.1.027.ebuild,v 1.1 2005/05/26 22:50:39 kugelfang Exp $
-
-inherit rpm
-
-DESCRIPTION="Intel Fortran Compiler 8.1 for Linux"
-HOMEPAGE="http://www.intel.com/software/products/compilers/flin/"
-SRC_URI="l_fce_pc_${PV}.tar.gz"
-# EM64T version _only_
-KEYWORDS="-* ~amd64"
-SLOT="8.1"
-LICENSE="ifc-8.1"
-IUSE=""
-
-RESTRICT="nostrip fetch"
-RDEPEND="amd64? ( app-emulation/emul-linux-x86-baselibs )"
-
-S=${WORKDIR}
-
-src_unpack() {
- unpack ${A}
- case ${ARCH} in
- x86|amd64)
- rpm_unpack ${S}/intel-*.i386.rpm || die "Failed to unpack rpms!"
- ;;
- ia64)
- rpm_unpack ${S}/intel-*.ia64.rpm || die "Failed to unpack rpms!"
- ;;
- *)
- eerror "Wrong architecture. The Intel Fortran Compiler can only be used on x86, amd64 and ia64."
- die "Wrong architecture !"
- esac
- rm -Rf ${S}/${P/ifc-/l_fc\*_p\*_}
-}
-
-src_compile() {
- return
-}
-
-src_install() {
- mv ${S}/opt ${D}/
-
- local SUFFIX
- use amd64 && SUFFIX="e"
-
- for FILE in ${D}/opt/intel_fc${SUFFIX}_80/bin/{ifc,ifort}; do
- sed -i \
- -e "s|<INSTALLDIR>|/opt/intel_fc${SUFFIX}_80|g" \
- -e "s|^EFI2_INCLUDE1=.*|EFI2_INCLUDE1=\$(gcc-config -X); \
- EFI2_INCLUDE1=\${EFI2_INCLUDE1##*:}; export EFI2_INCLUDE1;|g" \
- -e "s|/usr/lib/gcc-lib/x86_64-redhat-linux|/usr/${CHOST}|g" \
- -e "s|/usr/local/include|/usr/include|g" ${FILE} \
- || die "sed failed! (${FILE})"
- chmod 755 ${FILE}
- done
-}
-
-pkg_postinst() {
- local SUFFIX
- use amd64 && SUFFIX="e"
- einfo
- einfo "http://www.intel.com/software/products/compilers/flin/noncom.htm"
- einfo
- einfo "From the above url you can get a free, non-time limited, non-commercial"
- einfo "personal use license key that comes with no support. You will need to read"
- einfo "and agree to the license and then fill in your info to have one emailed to"
- einfo "you. Read the website for details."
- einfo
- einfo "The Intel Fortran Compiler needs your license file in either /opt/intel_fc${SUFFIX}_80/licenses/"
- einfo "or in a location that INTEL_LICENSE_FILE points to."
- einfo
- einfo "Documentation for the compiler can be found in /opt/intel_fc${SUFFIX}_80/doc/"
- einfo
-}
diff --git a/dev-lang/ifc/ifc-9.0.021.ebuild b/dev-lang/ifc/ifc-9.0.021.ebuild
deleted file mode 100644
index 2fec3aac125b..000000000000
--- a/dev-lang/ifc/ifc-9.0.021.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ifc/ifc-9.0.021.ebuild,v 1.3 2005/10/01 16:19:57 ribosome Exp $
-
-inherit rpm
-
-DESCRIPTION="Intel Fortran Compiler for Linux"
-HOMEPAGE="http://www.intel.com/software/products/compilers/flin/"
-IUSE=""
-KEYWORDS="~amd64 ~ia64 ~x86"
-LICENSE="ifc-9.0"
-RESTRICT="nostrip fetch"
-SLOT="9.0"
-MMV="9.0"
-
-SRC_URI="l_fc_p_${PV}.tar.gz"
-DEPEND=">=sys-libs/glibc-2.3.2"
-RDEPEND="sys-devel/gcc"
-S="${WORKDIR}/l_fc_p_${PV}"
-
-src_unpack() {
- unpack ${A}
-
- cd ${S} || die
-
- # The tarball contains rpms for multiple arches, and a lot of
- # auxiliary rpms common across arches. We must throw away
- # the arch we're not.
- case ${ARCH} in
- amd64)
- rm -f intel-*.{i386,ia64}.rpm
- ;;
- ia64)
- rm -f intel-*.{em64t,i386}.rpm
- ;;
- x86)
- rm -f intel-*.{em64t,ia64}.rpm
- ;;
- esac
-
- for x in *.rpm
- do
- # WORKDIR must be set properly for rpm_unpack()
- rpm_unpack ${S}/${x}
- done
-
-}
-
-src_compile() {
- instdir=/opt/intel/fortran90
-
- for x in opt/intel/*/*/bin/* ; do
- sed "s|<INSTALLDIR>|${instdir}|g" -i $x
- done
-
- # == SRC_BASE
- eval `grep "^[ ]*PACKAGEID=" ${S}/install_fc.sh`
- einfo "PACKAGEID=${PACKAGEID}"
-
- # From UNTAG_SUPPORT() in 'install_fc.sh'
- case ${ARCH} in
- amd64)
- SUPPORTFILE=${S}/opt/intel/fce/9.0/doc/fesupport
- ;;
- ia64|x86)
- SUPPORTFILE=${S}/opt/intel/fc/9.0/doc/fsupport
- ;;
- esac
- if [ -f ${SUPPORTFILE} ]
- then
- einfo "Untagging: ${SUPPORTFILE}"
- sed s@\<installpackageid\>@${PACKAGEID}@g ${SUPPORTFILE} > ${SUPPORTFILE}.abs
- mv ${SUPPORTFILE}.abs ${SUPPORTFILE}
- chmod 644 ${SUPPORTFILE}
- fi
-
- # From UNTAG_SUPPORT_IDB() in 'install_fc.sh'
- case ${ARCH} in
- amd64)
- SUPPORTFILE=${S}/opt/intel/idbe/9.0/doc/idbesupport
- ;;
- ia64 | x86)
- SUPPORTFILE=${S}/opt/intel/idb/9.0/doc/idbsupport
- ;;
- esac
- if [ -f ${SUPPORTFILE} ]
- then
- einfo "Untagging: ${SUPPORTFILE}"
- sed s@\<INSTALLTIMECOMBOPACKAGEID\>@${PACKAGEID}@g ${SUPPORTFILE} > ${SUPPORTFILE}.abs
- mv ${SUPPORTFILE}.abs ${SUPPORTFILE}
- chmod 644 ${SUPPORTFILE}
- fi
-}
-
-src_install () {
- instdir=/opt/intel/fortran90
- # No lgpltext in ifc
- # dodoc ${S}/lgpltext
- dodoc ${S}/flicense
- dodir ${instdir}
- cp -pPR opt/intel/fc*/9.0/* ${D}/${instdir}
- cp -pPR opt/intel/idb*/9.0/* ${D}/${instdir}
- insinto /etc/env.d
- doins ${FILESDIR}/${MMV}/05ifc || die
-}
-
-pkg_postinst () {
- instdir=/opt/intel/fortran90
-
- einfo "http://www.intel.com/software/products/compilers/flin/noncom.htm"
- einfo "From the above url you can get a free, non-commercial"
- einfo "license to use the Intel Fortran Compiler emailed to you."
- einfo "You cannot run ifc without this license file."
- einfo "Read the website for more information on this license."
- einfo
- einfo "Documentation can be found in ${instdir}/doc/"
- einfo
- einfo "You will need to place your license in ${instdir}/licenses/"
- echo
-
- ewarn "If 'ifc' breaks, use 'ifortbin' instead and report a bug."
- echo
-
- ewarn "Please perform"
- ewarn " env-update"
- ewarn " source /etc/profile"
- ewarn "prior to using ifc."
-}
diff --git a/dev-lang/ifc/ifc-9.0.026.ebuild b/dev-lang/ifc/ifc-9.0.026.ebuild
deleted file mode 100644
index 51376d61dc32..000000000000
--- a/dev-lang/ifc/ifc-9.0.026.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ifc/ifc-9.0.026.ebuild,v 1.2 2005/10/01 16:19:57 ribosome Exp $
-
-inherit rpm
-
-DESCRIPTION="Intel Fortran Compiler for Linux"
-HOMEPAGE="http://www.intel.com/software/products/compilers/flin/"
-IUSE=""
-KEYWORDS="~amd64 ~ia64 ~x86"
-LICENSE="ifc-9.0"
-RESTRICT="nostrip fetch"
-SLOT="9.0"
-MMV="9.0"
-
-SRC_URI="l_fc_c_${PV}.tar.gz"
-DEPEND=">=sys-libs/glibc-2.3.2"
-RDEPEND="sys-devel/gcc"
-S="${WORKDIR}/l_fc_c_${PV}"
-
-src_unpack() {
- unpack ${A}
-
- cd ${S} || die
-
- # The tarball contains rpms for multiple arches, and a lot of
- # auxiliary rpms common across arches. We must throw away
- # the arch we're not.
- case ${ARCH} in
- amd64)
- rm -f intel-*.{i386,ia64}.rpm
- ;;
- ia64)
- rm -f intel-*.{em64t,i386}.rpm
- ;;
- x86)
- rm -f intel-*.{em64t,ia64}.rpm
- ;;
- esac
-
- for x in *.rpm
- do
- # WORKDIR must be set properly for rpm_unpack()
- rpm_unpack ${S}/${x}
- done
-
-}
-
-src_compile() {
- instdir=/opt/intel/fortran90
-
- for x in opt/intel/*/*/bin/* ; do
- sed "s|<INSTALLDIR>|${instdir}|g" -i $x
- done
-
- # == SRC_BASE
- eval `grep "^[ ]*PACKAGEID=" ${S}/install_fc.sh`
- einfo "PACKAGEID=${PACKAGEID}"
-
- # From UNTAG_SUPPORT() in 'install_fc.sh'
- case ${ARCH} in
- amd64)
- SUPPORTFILE=${S}/opt/intel/fce/9.0/doc/fesupport
- ;;
- ia64|x86)
- SUPPORTFILE=${S}/opt/intel/fc/9.0/doc/fsupport
- ;;
- esac
- if [ -f ${SUPPORTFILE} ]
- then
- einfo "Untagging: ${SUPPORTFILE}"
- sed s@\<installpackageid\>@${PACKAGEID}@g ${SUPPORTFILE} > ${SUPPORTFILE}.abs
- mv ${SUPPORTFILE}.abs ${SUPPORTFILE}
- chmod 644 ${SUPPORTFILE}
- fi
-
- # From UNTAG_SUPPORT_IDB() in 'install_fc.sh'
- case ${ARCH} in
- amd64)
- SUPPORTFILE=${S}/opt/intel/idbe/9.0/doc/idbesupport
- ;;
- ia64 | x86)
- SUPPORTFILE=${S}/opt/intel/idb/9.0/doc/idbsupport
- ;;
- esac
- if [ -f ${SUPPORTFILE} ]
- then
- einfo "Untagging: ${SUPPORTFILE}"
- sed s@\<INSTALLTIMECOMBOPACKAGEID\>@${PACKAGEID}@g ${SUPPORTFILE} > ${SUPPORTFILE}.abs
- mv ${SUPPORTFILE}.abs ${SUPPORTFILE}
- chmod 644 ${SUPPORTFILE}
- fi
-}
-
-src_install () {
- instdir=/opt/intel/fortran90
- # No lgpltext in ifc
- # dodoc ${S}/lgpltext
- dodoc ${S}/flicense
- dodir ${instdir}
- cp -pPR opt/intel/fc*/9.0/* ${D}/${instdir}
- cp -pPR opt/intel/idb*/9.0/* ${D}/${instdir}
- insinto /etc/env.d
- doins ${FILESDIR}/${MMV}/05ifc || die
-}
-
-pkg_postinst () {
- instdir=/opt/intel/fortran90
-
- einfo "http://www.intel.com/software/products/compilers/flin/noncom.htm"
- einfo "From the above url you can get a free, non-commercial"
- einfo "license to use the Intel Fortran Compiler emailed to you."
- einfo "You cannot run ifc without this license file."
- einfo "Read the website for more information on this license."
- einfo
- einfo "Documentation can be found in ${instdir}/doc/"
- einfo
- einfo "You will need to place your license in ${instdir}/licenses/"
- echo
-
- ewarn "If 'ifc' breaks, use 'ifortbin' instead and report a bug."
- echo
-
- ewarn "Please perform"
- ewarn " env-update"
- ewarn " source /etc/profile"
- ewarn "prior to using ifc."
-}
diff --git a/dev-lang/ifc/ifc-9.0.031.ebuild b/dev-lang/ifc/ifc-9.0.031.ebuild
deleted file mode 100644
index 0c545a646b3d..000000000000
--- a/dev-lang/ifc/ifc-9.0.031.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ifc/ifc-9.0.031.ebuild,v 1.1 2006/06/05 17:11:48 spyderous Exp $
-
-inherit rpm
-
-DESCRIPTION="Intel Fortran Compiler for Linux"
-HOMEPAGE="http://www.intel.com/software/products/compilers/flin/"
-IUSE=""
-KEYWORDS="~amd64 ~ia64 ~x86"
-LICENSE="ifc-9.0"
-RESTRICT="nostrip fetch"
-SLOT="9.0"
-MMV="9.0"
-
-SRC_URI="l_fc_c_${PV}.tar.gz"
-DEPEND=">=sys-libs/glibc-2.3.2"
-RDEPEND="sys-devel/gcc"
-S="${WORKDIR}/l_fc_c_${PV}"
-
-src_unpack() {
- unpack ${A}
-
- cd ${S} || die
-
- # The tarball contains rpms for multiple arches, and a lot of
- # auxiliary rpms common across arches. We must throw away
- # the arch we're not.
- case ${ARCH} in
- amd64)
- rm -f intel-*.{i386,ia64}.rpm
- ;;
- ia64)
- rm -f intel-*.{em64t,i386}.rpm
- ;;
- x86)
- rm -f intel-*.{em64t,ia64}.rpm
- ;;
- esac
-
- for x in *.rpm
- do
- # WORKDIR must be set properly for rpm_unpack()
- rpm_unpack ${S}/${x}
- done
-
-}
-
-src_compile() {
- instdir=/opt/intel/fortran90
-
- for x in opt/intel/*/*/bin/* ; do
- sed "s|<INSTALLDIR>|${instdir}|g" -i $x
- done
-
- # == SRC_BASE
- eval `grep "^[ ]*PACKAGEID=" ${S}/install_fc.sh`
- einfo "PACKAGEID=${PACKAGEID}"
-
- # From UNTAG_SUPPORT() in 'install_fc.sh'
- case ${ARCH} in
- amd64)
- SUPPORTFILE=${S}/opt/intel/fce/9.0/doc/fesupport
- ;;
- ia64|x86)
- SUPPORTFILE=${S}/opt/intel/fc/9.0/doc/fsupport
- ;;
- esac
- if [ -f ${SUPPORTFILE} ]
- then
- einfo "Untagging: ${SUPPORTFILE}"
- sed s@\<installpackageid\>@${PACKAGEID}@g ${SUPPORTFILE} > ${SUPPORTFILE}.abs
- mv ${SUPPORTFILE}.abs ${SUPPORTFILE}
- chmod 644 ${SUPPORTFILE}
- fi
-
- # From UNTAG_SUPPORT_IDB() in 'install_fc.sh'
- case ${ARCH} in
- amd64)
- SUPPORTFILE=${S}/opt/intel/idbe/9.0/doc/idbesupport
- ;;
- ia64 | x86)
- SUPPORTFILE=${S}/opt/intel/idb/9.0/doc/idbsupport
- ;;
- esac
- if [ -f ${SUPPORTFILE} ]
- then
- einfo "Untagging: ${SUPPORTFILE}"
- sed s@\<INSTALLTIMECOMBOPACKAGEID\>@${PACKAGEID}@g ${SUPPORTFILE} > ${SUPPORTFILE}.abs
- mv ${SUPPORTFILE}.abs ${SUPPORTFILE}
- chmod 644 ${SUPPORTFILE}
- fi
-}
-
-src_install () {
- instdir=/opt/intel/fortran90
- # No lgpltext in ifc
- # dodoc ${S}/lgpltext
- dodoc ${S}/flicense
- dodir ${instdir}
- cp -pPR opt/intel/fc*/9.0/* ${D}/${instdir}
- cp -pPR opt/intel/idb*/9.0/* ${D}/${instdir}
- insinto /etc/env.d
- doins ${FILESDIR}/${MMV}/05ifc || die
-}
-
-pkg_postinst () {
- instdir=/opt/intel/fortran90
-
- einfo "http://www.intel.com/software/products/compilers/flin/noncom.htm"
- einfo "From the above url you can get a free, non-commercial"
- einfo "license to use the Intel Fortran Compiler emailed to you."
- einfo "You cannot run ifc without this license file."
- einfo "Read the website for more information on this license."
- einfo
- einfo "Documentation can be found in ${instdir}/doc/"
- einfo
- einfo "You will need to place your license in ${instdir}/licenses/"
- echo
-
- ewarn "If 'ifc' breaks, use 'ifortbin' instead and report a bug."
- echo
-
- ewarn "Please perform"
- ewarn " env-update"
- ewarn " source /etc/profile"
- ewarn "prior to using ifc."
-}
diff --git a/dev-lang/ifc/ifc-9.1.036.ebuild b/dev-lang/ifc/ifc-9.1.036.ebuild
deleted file mode 100644
index a522b30f9e62..000000000000
--- a/dev-lang/ifc/ifc-9.1.036.ebuild
+++ /dev/null
@@ -1,131 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ifc/ifc-9.1.036.ebuild,v 1.1 2006/08/28 09:11:42 dberkholz Exp $
-
-inherit rpm versionator
-
-MAJOR=$(get_major_version ${PV})
-MINOR=$(get_version_component_range 2 ${PV})
-
-DESCRIPTION="Intel Fortran Compiler for Linux"
-HOMEPAGE="http://www.intel.com/software/products/compilers/flin/"
-IUSE=""
-KEYWORDS="~amd64 ~ia64 ~x86"
-LICENSE="ifc-9.0"
-RESTRICT="nostrip fetch"
-SLOT="${MAJOR}.${MINOR}"
-MMV="${MAJOR}.${MINOR}"
-
-SRC_URI="l_fc_c_${PV}.tar.gz"
-DEPEND=">=sys-libs/glibc-2.3.2"
-RDEPEND="sys-devel/gcc"
-S="${WORKDIR}/l_fc_c_${PV}"
-
-src_unpack() {
- unpack ${A}
-
- cd ${S} || die
-
- # The tarball contains rpms for multiple arches, and a lot of
- # auxiliary rpms common across arches. We must throw away
- # the arch we're not.
- case ${ARCH} in
- amd64)
- rm -f data/intel-*.{i386,ia64}.rpm
- ;;
- ia64)
- rm -f data/intel-*.{em64t,i386}.rpm
- ;;
- x86)
- rm -f data/intel-*.{em64t,ia64}.rpm
- ;;
- esac
-
- for x in *.rpm
- do
- # WORKDIR must be set properly for rpm_unpack()
- rpm_unpack ${S}/data/${x}
- done
-
-}
-
-src_compile() {
- instdir=/opt/intel/fortran${MMV//.}
-
- for x in opt/intel/*/*/bin/* ; do
- sed "s|<INSTALLDIR>|${instdir}|g" -i $x
- done
-
- # == SRC_BASE
- eval `grep "^[ ]*PACKAGEID=" ${S}/data/install_fc.sh`
- einfo "PACKAGEID=${PACKAGEID}"
-
- # From UNTAG_SUPPORT() in 'install_fc.sh'
- case ${ARCH} in
- amd64)
- SUPPORTFILE=${S}/opt/intel/fce/${MMV}*/doc/fesupport
- ;;
- ia64|x86)
- SUPPORTFILE=${S}/opt/intel/fc/${MMV}*/doc/fsupport
- ;;
- esac
- if [ -f ${SUPPORTFILE} ]
- then
- einfo "Untagging: ${SUPPORTFILE}"
- sed s@\<installpackageid\>@${PACKAGEID}@g ${SUPPORTFILE} > ${SUPPORTFILE}.abs
- mv ${SUPPORTFILE}.abs ${SUPPORTFILE}
- chmod 644 ${SUPPORTFILE}
- fi
-
- # From UNTAG_SUPPORT_IDB() in 'install_fc.sh'
- case ${ARCH} in
- amd64)
- SUPPORTFILE=${S}/opt/intel/idbe/${MMV}*/doc/idbesupport
- ;;
- ia64 | x86)
- SUPPORTFILE=${S}/opt/intel/idb/${MMV}*/doc/idbsupport
- ;;
- esac
- if [ -f ${SUPPORTFILE} ]
- then
- einfo "Untagging: ${SUPPORTFILE}"
- sed s@\<INSTALLTIMECOMBOPACKAGEID\>@${PACKAGEID}@g ${SUPPORTFILE} > ${SUPPORTFILE}.abs
- mv ${SUPPORTFILE}.abs ${SUPPORTFILE}
- chmod 644 ${SUPPORTFILE}
- fi
-}
-
-src_install () {
- instdir=/opt/intel/fortran${MMV//.}
- # No lgpltext in ifc
- # dodoc ${S}/lgpltext
- dodoc ${S}/flicense
- dodir ${instdir}
- cp -pPR opt/intel/fc*/${MMV}*/* ${D}/${instdir}
- cp -pPR opt/intel/idb*/${MMV}*/* ${D}/${instdir}
- insinto /etc/env.d
- doins ${FILESDIR}/${MMV}/05ifc || die
-}
-
-pkg_postinst () {
- instdir=/opt/intel/fortran${MMV//.}
-
- einfo "http://www.intel.com/software/products/compilers/flin/noncom.htm"
- einfo "From the above url you can get a free, non-commercial"
- einfo "license to use the Intel Fortran Compiler emailed to you."
- einfo "You cannot run ifc without this license file."
- einfo "Read the website for more information on this license."
- einfo
- einfo "Documentation can be found in ${instdir}/doc/"
- einfo
- einfo "You will need to place your license in ${instdir}/licenses/"
- echo
-
- ewarn "If 'ifc' breaks, use 'ifortbin' instead and report a bug."
- echo
-
- ewarn "Please perform"
- ewarn " env-update"
- ewarn " source /etc/profile"
- ewarn "prior to using ifc."
-}