summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-05-28 22:32:32 +0000
committerJustin Lecher <jlec@gentoo.org>2010-05-28 22:32:32 +0000
commit970f34000bb820e1826e8b505056b12876baeaac (patch)
tree1fdf5c7b1ccc93487f53846aedca7d30fd1b540c /dev-lang/ifc
parentAdd version needed for kde 4.4, newer version are only for kde 4.5, see bug 3... (diff)
downloadgentoo-2-970f34000bb820e1826e8b505056b12876baeaac.tar.gz
gentoo-2-970f34000bb820e1826e8b505056b12876baeaac.tar.bz2
gentoo-2-970f34000bb820e1826e8b505056b12876baeaac.zip
Version Bump #319793
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/ifc')
-rw-r--r--dev-lang/ifc/ChangeLog7
-rw-r--r--dev-lang/ifc/ifc-11.1.072.ebuild127
2 files changed, 133 insertions, 1 deletions
diff --git a/dev-lang/ifc/ChangeLog b/dev-lang/ifc/ChangeLog
index ab3dbe02201d..bb9ccd908707 100644
--- a/dev-lang/ifc/ChangeLog
+++ b/dev-lang/ifc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lang/ifc
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ifc/ChangeLog,v 1.57 2010/04/25 08:50:46 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ifc/ChangeLog,v 1.58 2010/05/28 22:32:32 jlec Exp $
+
+*ifc-11.1.072 (28 May 2010)
+
+ 28 May 2010; Justin Lecher <jlec@gentoo.org> +ifc-11.1.072.ebuild:
+ Version Bump #319793
25 Apr 2010; Justin Lecher <jlec@gentoo.org> ifc-11.1.056-r1.ebuild:
Additional QA_ fixes including PREFIX
diff --git a/dev-lang/ifc/ifc-11.1.072.ebuild b/dev-lang/ifc/ifc-11.1.072.ebuild
new file mode 100644
index 000000000000..fd5a11c3eb84
--- /dev/null
+++ b/dev-lang/ifc/ifc-11.1.072.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ifc/ifc-11.1.072.ebuild,v 1.1 2010/05/28 22:32:32 jlec Exp $
+
+EAPI="3"
+
+inherit check-reqs rpm versionator
+
+PB=cprof
+PACKAGEID="l_${PB}_p_${PV}"
+RELEASE="$(get_version_component_range 1-2)"
+BUILD="$(get_version_component_range 3)"
+PID=1769
+
+DESCRIPTION="Intel FORTRAN compiler suite for Linux"
+HOMEPAGE="http://www.intel.com/software/products/compilers/clin/"
+SRC_COM="http://registrationcenter-download.intel.com/irc_nas/${PID}/${PACKAGEID}"
+SRC_URI="amd64? ( ${SRC_COM}_intel64.tgz )
+ ia64? ( ${SRC_COM}_ia64.tgz )
+ x86? ( ${SRC_COM}_ia32.tgz )"
+
+LICENSE="Intel-SDP"
+SLOT="0"
+IUSE="idb +mkl"
+KEYWORDS="~amd64 ~ia64 ~x86 ~amd64-linux ~x86-linux"
+
+RESTRICT="mirror"
+
+DEPEND=""
+RDEPEND="~virtual/libstdc++-3.3
+ amd64? ( app-emulation/emul-linux-x86-compat )"
+
+DESTINATION="opt/intel/Compiler/${RELEASE}/${BUILD}"
+EDESTINATION="${EROOT#/}${DESTINATION}"
+
+QA_TEXTRELS="${EDESTINATION}/*"
+QA_EXECSTACK="${EDESTINATION}/*"
+QA_PRESTRIPPED="${EDESTINATION}/lib/*/.*libFNP.so ${EDESTINATION}/bin/*/.* ${EDESTINATION}/idb/*/*/.*"
+QA_DT_HASH="
+ ${EDESTINATION}/bin/*/.*
+ ${EDESTINATION}/lib/*/.*
+ ${EDESTINATION}/mkl/lib/*/.*
+ ${EDESTINATION}/mkl/benchmarks/mp_linpack/bin_intel/*/.*
+ ${EDESTINATION}/idb/*/*/.*"
+
+pkg_setup() {
+ CHECKREQS_MEMORY=1024
+ CHECKREQS_DISK_BUILD=1536
+ use idb && use mkl && CHECKREQS_DISK_BUILD=2048
+ check_reqs
+ IARCH=ia32
+ use amd64 && IARCH=intel64
+ use ia64 && IARCH=ia64
+}
+
+src_unpack() {
+ unpack ${A}
+ mv "${WORKDIR}"/l_* "${S}"
+ cd "${S}"
+ use idb || rm -f rpm/*idb*.rpm
+ use mkl || rm -f rpm/*mkl*.rpm
+ if has_version "~dev-lang/icc-${PV}"; then
+ rm -f rpm/*cprolib*.rpm
+ use idb && built_with_use dev-lang/icc idb && rm -f rpm/*idb*.rpm
+ use mkl && built_with_use dev-lang/icc mkl && rm -f rpm/*mkl*.rpm
+ fi
+ for x in rpm/intel*.rpm; do
+ rpm_unpack ./${x} || die "rpm_unpack ${x} failed"
+ done
+}
+
+src_prepare() {
+ # from the PURGE_UB804_FNP in pset/install_fc.sh
+ # rm -f "${DESTINATION}"/lib/*/*libFNP.so || die
+
+ # extract the tag function from the original install
+ sed -n \
+ -e "s|find \$DESTINATION|find ${DESTINATION}|g" \
+ -e "s|@\$DESTINATION|@${EROOT}${DESTINATION}|g" \
+ -e '/^UNTAG_CFG_FILES[[:space:]]*(/,/^}/p' \
+ pset/install_fc.sh > tag.sh || die
+ # fix world writeable files
+ [[ -d ${DESTINATION}/mkl ]] && chmod 644 \
+ ${DESTINATION}/mkl/tools/{environment,builder}/* \
+ ${DESTINATION}/mkl/tools/plugins/*/*
+ # remove for collision (bug #288038)
+ has_version "~dev-lang/icc-${PV}" && \
+ rm -f ${DESTINATION}/lib/*/locale/*/flexnet.cat
+}
+
+src_install() {
+ einfo "Tagging"
+ . ./tag.sh
+ UNTAG_CFG_FILES
+
+ keepdir /opt/intel/licenses
+ einfo "Copying files"
+ dodir "/${DESTINATION}"
+ cp -pPR \
+ ${DESTINATION}/* \
+ "${ED}"/${DESTINATION}/ \
+ || die "Copying ${PN} failed"
+
+ local envf=05icfc
+ cat > ${envf} <<-EOF
+ PATH="${EROOT}${DESTINATION}/bin/${IARCH}"
+ ROOTPATH="${EROOT}${DESTINATION}/bin/${IARCH}"
+ LDPATH="${EROOT}${DESTINATION}/lib/${IARCH}"
+ LIBRARY_PATH="${EROOT}${DESTINATION}/lib/${IARCH}"
+ NLSPATH="${EROOT}${DESTINATION}/lib/locale/en_US/%N"
+ MANPATH="${EROOT}${DESTINATION}/man/en_US"
+ EOF
+ if [[ ! -e "${EROOT}etc/env.d/${envf}" ]] || \
+ [[ -n $(diff "${EROOT}"etc/env.d/${envf} ./${envf}) ]]; then
+ doenvd ${envf} || die "doenvd ${envf} failed"
+ fi
+ [[ -d ${DESTINATION}/idb ]] && \
+ dosym ../../common/com.intel.debugger.help_1.0.0 \
+ ${DESTINATION}/idb/gui/${IARCH}/plugins
+}
+
+pkg_postinst() {
+ elog "Make sure you have recieved the an Intel license."
+ elog "To receive a non-commercial license, you need to register at:"
+ elog "http://software.intel.com/en-us/articles/non-commercial-software-development/"
+ elog "Install the license file into ${EROOT}opt/intel/licenses."
+}