# 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.59 2008/02/26 10:33:35 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/ChangeLog,v 1.60 2008/03/13 21:25:25 bicatali Exp $
+
+*icc-10.1.013 (13 Mar 2008)
+
+ 13 Mar 2008; Sébastien Fabbro <bicatali@gentoo.org> +icc-10.1.013.ebuild:
+ Version bump
26 Feb 2008; Sébastien Fabbro <bicatali@gentoo.org> -icc-10.1.008.ebuild:
Removing incompatible version with gcc (see bug #201596)
--- /dev/null
+# 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.013.ebuild,v 1.1 2008/03/13 21:25:25 bicatali Exp $
+
+inherit rpm eutils check-reqs
+
+PID=964
+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|<INSTALLDIR>|${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|\<installpackageid\>|${PACKID}|g" \
+ -e "s|\<INSTALLTIMECOMBOPACKAGEID\>|${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 /etc/profile"
+ elog "Debugger is installed with dev-lang/idb"
+}
--- /dev/null
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/idb/idb-10.1.013.ebuild,v 1.1 2008/03/13 21:30:14 bicatali Exp $
+
+inherit rpm elisp-common
+
+ICC_PID=952
+IFC_PID=955
+xPV=p_${PV}
+
+DESCRIPTION="Intel C/C++/FORTRAN debugger for Linux"
+HOMEPAGE="http://www.intel.com/software/products/compilers/"
+COM_URI="http://registrationcenter-download.intel.com/irc_nas"
+SRC_URI="amd64? ( ifc? ( !icc? ( ${COM_URI}/${IFC_PID}/l_fc_${xPV}_intel64.tar.gz ) )
+ !ifc? ( !icc? ( ${COM_URI}/${ICC_PID}/l_cc_${xPV}_intel64.tar.gz ) )
+ icc? ( ${COM_URI}/${ICC_PID}/l_cc_${xPV}_intel64.tar.gz ) )
+ ia64? ( ifc? ( !icc? ( ${COM_URI}/${IFC_PID}/l_fc_${xPV}_ia64.tar.gz ) )
+ !ifc? ( !icc? ( ${COM_URI}/${ICC_PID}/l_cc_${xPV}_ia64.tar.gz ) )
+ icc? ( ${COM_URI}/${ICC_PID}/l_cc_${xPV}_ia64.tar.gz ) )
+ x86? ( ifc? ( !icc? ( ${COM_URI}/${IFC_PID}/l_fc_${xPV}_ia32.tar.gz ) )
+ !ifc? ( !icc? ( ${COM_URI}/${ICC_PID}/l_cc_${xPV}_ia32.tar.gz ) )
+ icc? ( ${COM_URI}/${ICC_PID}/l_cc_${xPV}_ia32.tar.gz ) )"
+
+KEYWORDS="~amd64 ~x86"
+
+LICENSE="Intel-SDP"
+SLOT="0"
+
+RESTRICT="strip mirror"
+IUSE="emacs icc ifc"
+
+DEPEND=""
+RDEPEND="virtual/libstdc++
+ x11-libs/libXft
+ x11-libs/libXt
+ dev-libs/libxml2"
+
+src_unpack() {
+ unpack ${A}
+ PACKAGEID=$(basename l_*)
+ mv "${WORKDIR}"/${PACKAGEID} "${S}"
+ cd "${S}"
+ for x in data/*idb*.rpm; do
+ einfo "Extracting $(basename ${x})..."
+ rpm_unpack ${x} || die "rpm_unpack ${x} failed"
+ done
+}
+
+src_install() {
+ local ext=
+ use amd64 && ext=e
+ local instdir=/opt/intel/${PN}${ext}/${PV}
+ cd "${S}"/${instdir}/doc
+ sed -e "s|\<installpackageid\>|${PACKAGEID}|g" \
+ -i *support \
+ || die "sed support file failed"
+ chmod 644 *support
+
+ dodir ${instdir}
+ einfo "Copying files"
+ cp -pPR \
+ "${S}"/${instdir}/* \
+ "${D}"/${instdir}/ \
+ || die "copying debugger failed"
+ cat > 06idb <<-EOF
+ PATH=${instdir}/bin
+ ROOTPATH=${instdir}/bin
+ MANPATH=${instdir}/man
+ EOF
+ doenvd 06idb || die "installing env file failed"
+ use emacs && \
+ elisp-site-file-install "${S}"${instdir}/bin/*.el
+}
+
+pkg_postinst () {
+ rm -f "${ROOT}"/opt/intel/{intel_sdp_products.db,.*.log} || die
+ 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 /etc/profile"
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
# ChangeLog for dev-lang/ifc
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ifc/ChangeLog,v 1.44 2008/02/28 10:47:29 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ifc/ChangeLog,v 1.45 2008/03/13 21:27:31 bicatali Exp $
+
+*ifc-10.1.013 (13 Mar 2008)
+
+ 13 Mar 2008; Sébastien Fabbro <bicatali@gentoo.org> +ifc-10.1.013.ebuild:
+ Version bump
28 Feb 2008; Sébastien Fabbro <bicatali@gentoo.org> -ifc-10.1.008.ebuild:
Removed old version
--- /dev/null
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ifc/ifc-10.1.013.ebuild,v 1.1 2008/03/13 21:27:32 bicatali Exp $
+
+inherit rpm eutils check-reqs
+
+PID=965
+PB=fc
+PEXEC="ifort"
+DESCRIPTION="Intel FORTRAN 77/95 optimized compiler for Linux"
+HOMEPAGE="http://www.intel.com/software/products/compilers/flin/"
+
+###
+# 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|<INSTALLDIR>|${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|\<installpackageid\>|${PACKID}|g" \
+ -e "s|\<INSTALLTIMECOMBOPACKAGEID\>|${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 /etc/profile"
+ elog "Debugger is installed with dev-lang/idb"
+}