From f66adea8d86af635bd38833233298fc37a7f00a1 Mon Sep 17 00:00:00 2001 From: Andrey Kislyuk Date: Fri, 21 Aug 2009 12:39:53 +0000 Subject: Reinstate env.d file Package-Manager: portage-2.2_rc30/cvs/Linux x86_64 --- dev-lang/icc/ChangeLog | 7 ++- dev-lang/icc/Manifest | 3 +- dev-lang/icc/icc-11.1.046-r1.ebuild | 89 +++++++++++++++++++++++++++++++++++++ 3 files changed, 97 insertions(+), 2 deletions(-) create mode 100644 dev-lang/icc/icc-11.1.046-r1.ebuild (limited to 'dev-lang/icc') diff --git a/dev-lang/icc/ChangeLog b/dev-lang/icc/ChangeLog index 5c3298f91a5a..44a29019d8a7 100644 --- a/dev-lang/icc/ChangeLog +++ b/dev-lang/icc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lang/icc # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/ChangeLog,v 1.67 2009/08/19 07:53:54 weaver Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/ChangeLog,v 1.68 2009/08/21 12:39:53 weaver Exp $ + +*icc-11.1.046-r1 (21 Aug 2009) + + 21 Aug 2009; Andrey Kislyuk +icc-11.1.046-r1.ebuild: + Reinstate env.d file *icc-11.1.046 (19 Aug 2009) diff --git a/dev-lang/icc/Manifest b/dev-lang/icc/Manifest index d10fad453143..ee0a0b0096da 100644 --- a/dev-lang/icc/Manifest +++ b/dev-lang/icc/Manifest @@ -11,6 +11,7 @@ DIST l_cproc_p_11.1.046.tgz 1351950106 RMD160 3793d9f6b9f6335e6a9bebf16012d79b38 EBUILD icc-10.0.026.ebuild 3124 RMD160 cd9ce8e7c9c5c0fad21c30d72925ad6ea0b724a1 SHA1 dfe5acbde8dc25b75b17727e17a9aeeff16897a1 SHA256 313b003b1a231cbdae308e5f50a458b063c72dadf260096a6077fb0f47e6bb4e EBUILD icc-10.1.017-r1.ebuild 3091 RMD160 fafb761cdcfa0e267279e942d6cbea618d1513ba SHA1 056e9ef444d7a415ef2f95ef969a3964757db88e SHA256 9f6b11191a920fd04fd340dc4117eaeda861622b51d4331e2bf9ccdceb0bb71d EBUILD icc-10.1.018.ebuild 3152 RMD160 fe671cc333c336a9157251afd29f21deb9c11244 SHA1 680ca7f2ee731b60038d6d903df27de04fa2cdfa SHA256 be68024c61aa317b5a41a9643da5c40ea6cfae9bd78876e99bb467e75bbe4745 +EBUILD icc-11.1.046-r1.ebuild 2993 RMD160 2d003f67230762eeb98684c5e01c4614f594df4e SHA1 84c1188ccfb4775292772fe822102943a865ed1c SHA256 4ee634b5b127a2dcef65025b6d227334c636f692bb30f0d0a09c09d6e713f435 EBUILD icc-11.1.046.ebuild 2809 RMD160 7e6251debd192219b6bd87bf45f097af8b8b904d SHA1 19a5aac0499bddd5765d56566cfb0e4cf1ab828e SHA256 374b18fed3c2b33121ab8c584a2b5c93c0251e10540d0325e4694af2fc19d182 -MISC ChangeLog 14026 RMD160 e4cc309b31792bfe84465230e9e1b5f395cd277e SHA1 a43ef8ba758dd0f5af1815d7c10b8419b864eec2 SHA256 686dcc4dd85df0864799ea100f0502afeb4673a6ea6f676c18e3b8d35d8303ce +MISC ChangeLog 14157 RMD160 059bd492fefb7d5bc55cc02d31cd817663c52a8c SHA1 8f502870624779e9fd741f602cc97f8c51a7a1d7 SHA256 2d4ce6f02af650a00a96091bc43fd2a58c1d8a278565951aa588fdff429fdd9b MISC metadata.xml 781 RMD160 fbb6b83d1b2f080aa5390e80390f21a10650ad91 SHA1 6eabf23989797b30f1ab89e4a3c557d2548a72ff SHA256 9ca47151619d8cae7f6480dff40d195011bb82d912b74ef8223176a8b0bae487 diff --git a/dev-lang/icc/icc-11.1.046-r1.ebuild b/dev-lang/icc/icc-11.1.046-r1.ebuild new file mode 100644 index 000000000000..35724cc12ad2 --- /dev/null +++ b/dev-lang/icc/icc-11.1.046-r1.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/icc-11.1.046-r1.ebuild,v 1.1 2009/08/21 12:39:53 weaver Exp $ + +EAPI="2" + +PID=1536 +PB=cproc +DESCRIPTION="Intel C/C++ optimized compiler for Linux" +HOMEPAGE="http://www.intel.com/software/products/compilers/clin/" + +### +# everything below common to ifc and icc +# no eclass: very likely to change for next versions +### +PACKAGEID="l_${PB}_p_${PV}" +RELEASE="${PV:0:4}" +BUILD="${PV:5:8}" +SRC_URI="http://registrationcenter-download.intel.com/irc_nas/${PID}/${PACKAGEID}.tgz" +#SRC_URI="amd64? ( http://registrationcenter-download.intel.com/irc_nas/${PID}/${PACKAGEID}_intel64.tgz ) +# ia64? ( http://registrationcenter-download.intel.com/irc_nas/${PID}/${PACKAGEID}_ia64.tgz ) +# x86? ( http://registrationcenter-download.intel.com/irc_nas/${PID}/${PACKAGEID}_ia32.tgz )" + +LICENSE="Intel-SDP" +SLOT="0" +IUSE="" +KEYWORDS="~amd64 ~x86" + +RESTRICT="mirror strip binchecks" + +INSTALL_DIR="opt/intel/Compiler/${RELEASE}/${BUILD}" +# these don't work, not sure why +#QA_TEXTRELS="${INSTALL_DIR}" +#QA_WX_LOAD="${INSTALL_DIR}" +#QA_PRESTRIPPED="${INSTALL_DIR}" + +DEPEND="app-arch/rpm" +RDEPEND="virtual/libstdc++ + amd64? ( app-emulation/emul-linux-x86-compat )" + +S="${WORKDIR}/${PACKAGEID}" + +src_prepare() { + use amd64 || rm -f rpm/*x86_64.rpm + # debugger installed with dev-lang/idb + rm -f rpm/intel*idb*.rpm + # performance primitives installed with sci-libs/ipp + rm -f rpm/intel*ipp*.rpm + # math library installed with sci-libs/mkl + rm -f rpm/intel*mkl*.rpm +} + +src_install() { + mkdir "${WORKDIR}/rpmdb" + # rpm open_wr's / but doesn't seem to do anything with it + addpredict / + rpm --install --nodeps --dbpath "${WORKDIR}/rpmdb" --prefix "${D}/${INSTALL_DIR}" rpm/*.rpm || die + + find "${D}/${INSTALL_DIR}" -name '*.csh' | xargs sed -i "s|${D}|${ROOT}|" || die + find "${D}/${INSTALL_DIR}" -name '*.sh' | xargs sed -i "s|${D}|${ROOT}|" || die + + ENV_FILE=05${PN} + MYARCH="" + if use amd64; then MYARCH=intel64; fi + if use ia64; then MYARCH=ia64; fi + if use x86; then MYARCH=ia32; fi + + env - bash --noprofile --norc -c "source '${D}/${INSTALL_DIR}/bin/iccvars.sh' ${MYARCH}; env|egrep -v '(PWD|SHLVL|_)='" > ${ENV_FILE} + doenvd ${ENV_FILE} || die + + # PROFILE_FILE=${PN}.sh + # echo "source ${ROOT}${INSTALL_DIR}/bin/iccvars.sh ${MYARCH}" >> ${PROFILE_FILE} + # exeinto /etc/profile.d; doexe ${PROFILE_FILE} || die + + mkdir -p "${D}/opt/intel/licenses" +} + +pkg_postinst() { + elog "${PN} requires a license file in order to run." + elog "To receive a restrictive non-commercial license, please register at:" + elog "http://www.intel.com/cd/software/products/asmo-na/eng/download/download/219771.htm" + elog "Read the website for more information on this license." + elog "Install the license file into ${ROOT}opt/intel/licenses" + elog + elog "The following packages provide components bundled with icc:" + elog "\t dev-lang/idb" + elog "\t sci-libs/ipp" + elog "\t sci-libs/mkl" +} -- cgit v1.2.3-65-gdbad