From 2b29bbff1692891a00a1d57110c29475b00b79c5 Mon Sep 17 00:00:00 2001 From: Sebastien Fabbro Date: Tue, 2 Sep 2008 09:43:20 +0000 Subject: Version bump (Portage version: 2.2_rc8/cvs/Linux 2.6.23-gentoo-r9 x86_64) --- dev-lang/icc/ChangeLog | 8 ++- dev-lang/icc/icc-10.1.017.ebuild | 106 ----------------------------------- dev-lang/icc/icc-10.1.018.ebuild | 117 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 124 insertions(+), 107 deletions(-) delete mode 100644 dev-lang/icc/icc-10.1.017.ebuild create mode 100644 dev-lang/icc/icc-10.1.018.ebuild (limited to 'dev-lang') diff --git a/dev-lang/icc/ChangeLog b/dev-lang/icc/ChangeLog index 4662ac361302..64f68d80c2b3 100644 --- a/dev-lang/icc/ChangeLog +++ b/dev-lang/icc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-lang/icc # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/ChangeLog,v 1.64 2008/08/23 11:00:33 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/ChangeLog,v 1.65 2008/09/02 09:43:20 bicatali Exp $ + +*icc-10.1.018 (02 Sep 2008) + + 02 Sep 2008; Sébastien Fabbro -icc-10.1.017.ebuild, + +icc-10.1.018.ebuild: + Version bump 23 Aug 2008; Sébastien Fabbro -files/icc-add-amd64-preprocessor-directives.patch, diff --git a/dev-lang/icc/icc-10.1.017.ebuild b/dev-lang/icc/icc-10.1.017.ebuild deleted file mode 100644 index 0d2279bcbb98..000000000000 --- a/dev-lang/icc/icc-10.1.017.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/icc-10.1.017.ebuild,v 1.2 2008/07/10 16:47:51 bicatali Exp $ - -inherit rpm eutils check-reqs - -PID=1136 -PB=cc -PEXEC="icc icpc" -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 -### -PACKID="l_${PB}_p_${PV}" -KEYWORDS="~amd64 ~ia64 ~x86" -SRC_COM="http://registrationcenter-download.intel.com/irc_nas/${PID}/${PACKID}" -SRC_URI="amd64? ( ${SRC_COM}_intel64.tar.gz ) - ia64? ( ${SRC_COM}_ia64.tar.gz ) - x86? ( ${SRC_COM}_ia32.tar.gz )" - -LICENSE="Intel-SDP" -SLOT="0" - -RESTRICT="test strip mirror" -IUSE="" -DEPEND="" -RDEPEND="virtual/libstdc++ - amd64? ( app-emulation/emul-linux-x86-compat )" - -pkg_setup() { - # Check if we have enough RAM and free diskspace - CHECKREQS_MEMORY="512" - local disk_req="300" - use amd64 && disk_req="400" - use ia64 && disk_req="350" - CHECKREQS_DISK_BUILD=${disk_req} - check_reqs -} - -src_unpack() { - unpack ${A} - mv "${WORKDIR}"/l_* "${S}" - cd "${S}" - - local ext= - use amd64 && ext=e - INSTALL_DIR=/opt/intel/${PB}${ext}/${PV} - - # debugger installed with dev-lang/idb - rm -f data/intel*idb*.rpm - - for x in data/intel*.rpm; do - einfo "Extracting $(basename ${x})..." - rpm_unpack "${S}/${x}" || die "rpm_unpack ${x} failed" - done - - einfo "Fixing paths and tagging" - cd "${S}"/${INSTALL_DIR}/bin - sed -e "s||${INSTALL_DIR}|g" \ - -e 's|export -n IA32ROOT;||g' \ - -i ${PEXEC} *sh \ - || die "sed fixing shells and paths failed" - - cd "${S}"/${INSTALL_DIR}/doc - sed -e "s|\|${PACKID}|g" \ - -e "s|\|${PACKID}|g" \ - -i *support \ - || die "sed support file failed" - chmod 644 *support -} - -src_install() { - einfo "Copying files" - dodir ${INSTALL_DIR} - cp -pPR \ - "${S}"/${INSTALL_DIR}/* \ - "${D}"/${INSTALL_DIR}/ \ - || die "Copying ${PN} failed" - - local env_file=05${PN} - cat > ${env_file} <<-EOF - PATH=${INSTALL_DIR}/bin - ROOTPATH=${INSTALL_DIR}/bin - LDPATH=${INSTALL_DIR}/lib - MANPATH=${INSTALL_DIR}/man - EOF - doenvd ${env_file} || die "doenvd ${env_file} failed" -} - -pkg_postinst () { - # remove left over from unpacking - rm -f "${ROOT}"/opt/intel/{intel_sdp_products.db,.*.log} \ - || die "remove logs failed" - - elog "Make sure you have recieved the a license for ${PN}," - elog "you cannot run ${PN} without a license file." - elog "To receive a non-commercial license, you need to register." - elog "Read the website for more information on this license:" - elog "${HOMEPAGE}" - elog "Then put the license file into ${ROOT}/opt/intel/licenses." - elog "\nTo use ${PN} issue first \n\tsource ${ROOT}/etc/profile" - elog "Debugger is installed with dev-lang/idb" -} diff --git a/dev-lang/icc/icc-10.1.018.ebuild b/dev-lang/icc/icc-10.1.018.ebuild new file mode 100644 index 000000000000..3555daa7dc42 --- /dev/null +++ b/dev-lang/icc/icc-10.1.018.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/icc-10.1.018.ebuild,v 1.1 2008/09/02 09:43:20 bicatali Exp $ + +inherit rpm eutils check-reqs + +PID=1205 +PB=cc +PEXEC="icc icpc" +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 +### +PACKID="l_${PB}_p_${PV}" +KEYWORDS="~amd64 ~ia64 ~x86" +SRC_COM="http://registrationcenter-download.intel.com/irc_nas/${PID}/${PACKID}" +SRC_URI="amd64? ( ${SRC_COM}_intel64.tar.gz ) + ia64? ( ${SRC_COM}_ia64.tar.gz ) + x86? ( ${SRC_COM}_ia32.tar.gz )" + +LICENSE="Intel-SDP" +SLOT="0" + +RESTRICT="test strip mirror" +IUSE="" +DEPEND="" +RDEPEND="virtual/libstdc++ + amd64? ( app-emulation/emul-linux-x86-compat )" + +pkg_setup() { + # Check if we have enough RAM and free diskspace + CHECKREQS_MEMORY="512" + local disk_req="300" + use amd64 && disk_req="400" + use ia64 && disk_req="350" + CHECKREQS_DISK_BUILD=${disk_req} + check_reqs +} + +src_unpack() { + unpack ${A} + mv "${WORKDIR}"/l_* "${S}" + cd "${S}" + + local ext= + use amd64 && ext=e + INSTALL_DIR=/opt/intel/${PB}${ext}/${PV} + + # debugger installed with dev-lang/idb + rm -f data/intel*idb*.rpm + + for x in data/intel*.rpm; do + einfo "Extracting $(basename ${x})..." + rpm_unpack "${S}/${x}" || die "rpm_unpack ${x} failed" + done + + einfo "Fixing paths and tagging" + cd "${S}"/${INSTALL_DIR}/bin + sed -e "s||${INSTALL_DIR}|g" \ + -e 's|export -n IA32ROOT;||g' \ + -i ${PEXEC} *sh \ + || die "sed fixing shells and paths failed" + + cd "${S}"/${INSTALL_DIR}/doc + sed -e "s|\|${PACKID}|g" \ + -e "s|\|${PACKID}|g" \ + -i *support \ + || die "sed support file failed" + chmod 644 *support + + if use amd64; then + cat <<-EOF >>"${S}"/${INSTALL_DIR}/bin/icc.cfg + -D__amd64=__x86_64 + -D__amd64__=__x86_64__ + EOF + cat <<-EOF >>"${S}"/${INSTALL_DIR}/bin/icpc.cfg + -D__amd64=__x86_64 + -D__amd64__=__x86_64__ + EOF + fi +} + +src_install() { + einfo "Copying files" + dodir ${INSTALL_DIR} + cp -pPR \ + "${S}"/${INSTALL_DIR}/* \ + "${D}"/${INSTALL_DIR}/ \ + || die "Copying ${PN} failed" + + local env_file=05${PN} + cat > ${env_file} <<-EOF + PATH=${INSTALL_DIR}/bin + ROOTPATH=${INSTALL_DIR}/bin + LDPATH=${INSTALL_DIR}/lib + MANPATH=${INSTALL_DIR}/man + EOF + doenvd ${env_file} || die "doenvd ${env_file} failed" +} + +pkg_postinst () { + # remove left over from unpacking + rm -f "${ROOT}"/opt/intel/{intel_sdp_products.db,.*.log} \ + || die "remove logs failed" + + elog "Make sure you have recieved the a license for ${PN}," + elog "you cannot run ${PN} without a license file." + elog "To receive a non-commercial license, you need to register." + elog "Read the website for more information on this license:" + elog "${HOMEPAGE}" + elog "Then put the license file into ${ROOT}/opt/intel/licenses." + elog "\nTo use ${PN} issue first \n\tsource ${ROOT}/etc/profile" + elog "Debugger is installed with dev-lang/idb" +} -- cgit v1.2.3-65-gdbad