Version bump. Added pkg_nofetch, closes #66514
authorMatthew Snelham <zeypher@gentoo.org>
Tue, 14 Nov 2006 21:45:10 +0000 (21:45 +0000)
committerMatthew Snelham <zeypher@gentoo.org>
Tue, 14 Nov 2006 21:45:10 +0000 (21:45 +0000)
Package-Manager: portage-2.1.1-r1

dev-lang/icc/ChangeLog
dev-lang/icc/Manifest
dev-lang/icc/files/9.1.044/05icc-ifc [new file with mode: 0644]
dev-lang/icc/files/9.1.044/icc [new file with mode: 0644]
dev-lang/icc/files/9.1.044/icpc [new file with mode: 0644]
dev-lang/icc/files/digest-icc-9.1.044 [new file with mode: 0644]
dev-lang/icc/icc-9.1.044.ebuild [new file with mode: 0644]

index 5eb4b0bde7d23d57c56b1fca38d0b0e5ff9ffe90..b2d264316cf99942400d750ce8da19d80d5fa67c 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-lang/icc
 # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/ChangeLog,v 1.33 2006/08/28 09:14:45 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/ChangeLog,v 1.34 2006/11/14 21:45:09 zeypher Exp $
+
+*icc-9.1.044 (14 Nov 2006)
+
+  14 Nov 2006; <zeypher@gentoo.org> +files/9.1.044/05icc-ifc,
+  +files/9.1.044/icc, +files/9.1.044/icpc, +icc-9.1.044.ebuild:
+  Version bump. Added pkg_nofetch, closes #66514
 
 *icc-9.1.042 (28 Aug 2006)
 
index 7449c662982c77a26ca1d3ccc207f8af6369d7df..978e097df194839ce6b0ddf6c838bc40c25cb36b 100644 (file)
@@ -142,9 +142,22 @@ AUX 9.1.042/icpc 285 RMD160 5f483ea308d27b3cff8117d33b86801aa729ff7d SHA1 e4781b
 MD5 004983bd6dfe7b07c8c4d7902dcb3eb0 files/9.1.042/icpc 285
 RMD160 5f483ea308d27b3cff8117d33b86801aa729ff7d files/9.1.042/icpc 285
 SHA256 27fb8b2eab4cf78b86457317977c9ebfd2633a73f943758cf89e8e9255360ad1 files/9.1.042/icpc 285
+AUX 9.1.044/05icc-ifc 217 RMD160 0e77ca18d011201e4e5906b1a14a4c4b359a64c3 SHA1 310c3f6225411da25e2ea6d2bda27d5d764e953a SHA256 ba82e4425bbaa4421bc4981d30e9dad1bf68a9fd3637a558db7abb942332a516
+MD5 78420c8d04d18b9438d585b5c3f655fd files/9.1.044/05icc-ifc 217
+RMD160 0e77ca18d011201e4e5906b1a14a4c4b359a64c3 files/9.1.044/05icc-ifc 217
+SHA256 ba82e4425bbaa4421bc4981d30e9dad1bf68a9fd3637a558db7abb942332a516 files/9.1.044/05icc-ifc 217
+AUX 9.1.044/icc 283 RMD160 baeb7223b3d14d9c230f6419f1c8198f11fd2d35 SHA1 b2dee739173e1a037de8aeb5b8ea93ff5a34369a SHA256 8ae557bcaef2cb4b96c34372729e2e15c8f848a58460db83cb7b1f907d72fc31
+MD5 f6f54c89e71583f125bbf9a7ab68e462 files/9.1.044/icc 283
+RMD160 baeb7223b3d14d9c230f6419f1c8198f11fd2d35 files/9.1.044/icc 283
+SHA256 8ae557bcaef2cb4b96c34372729e2e15c8f848a58460db83cb7b1f907d72fc31 files/9.1.044/icc 283
+AUX 9.1.044/icpc 285 RMD160 5f483ea308d27b3cff8117d33b86801aa729ff7d SHA1 e4781b744b9b70ac9a31dff70add54eed6dac60c SHA256 27fb8b2eab4cf78b86457317977c9ebfd2633a73f943758cf89e8e9255360ad1
+MD5 004983bd6dfe7b07c8c4d7902dcb3eb0 files/9.1.044/icpc 285
+RMD160 5f483ea308d27b3cff8117d33b86801aa729ff7d files/9.1.044/icpc 285
+SHA256 27fb8b2eab4cf78b86457317977c9ebfd2633a73f943758cf89e8e9255360ad1 files/9.1.044/icpc 285
 DIST l_cc_c_9.0.023.tar.gz 201405770
 DIST l_cc_c_9.0.030.tar.gz 203844352 RMD160 13a50630da7f14cc0e7a27254eb95b35d8bdc38f SHA1 b000705847a7ddf17138730d0ae123b70f2c5495 SHA256 a384c825f503ee6f94b97086948af951ea52c6d2d6f38c3a636c35b6948e321f
 DIST l_cc_c_9.1.042.tar.gz 292001591 RMD160 06b7cba02eb8eb6489cab572d9dd9480076ee653 SHA1 cda7c7fd32256e9ce988d1c2e40926f011a38765 SHA256 1552c124227a460746bf24f9159bdfb3d3974d0069d415a2ae20d6d9dc20b8ed
+DIST l_cc_c_9.1.044.tar.gz 292700142 RMD160 8895b76bf238bebb843c545e5cf9912e70b8ea87 SHA1 af6ab6a4364b6c78e3ad5ca61bbc5acbaacaef05 SHA256 88f0b141e8fdf32022d094403f12950f3f8f82678535043b6edb0dfba94c0a3f
 DIST l_cc_p_6.0.139.tar 40775680
 DIST l_cc_p_7.0.065.tar 64921600
 DIST l_cc_p_7.1.006.tar 63406080
@@ -209,10 +222,14 @@ EBUILD icc-9.1.042.ebuild 3974 RMD160 83497581acaed640364fc699d0f6cc70b13eb707 S
 MD5 d41ac5d2767411c0a4cbb35271a310b4 icc-9.1.042.ebuild 3974
 RMD160 83497581acaed640364fc699d0f6cc70b13eb707 icc-9.1.042.ebuild 3974
 SHA256 45a80411b3032208ebfa4ef47c5956bea0d04aaa45984c1c49338a79c0580178 icc-9.1.042.ebuild 3974
-MISC ChangeLog 7456 RMD160 abb2b79aff172e95f11947ad7a2e453135410564 SHA1 80af505dd21b2a92adab2a7e40f554a693411932 SHA256 39b5d24c750bcfd1dd2e3ebe024b726260fe7f7a77fca1d8633b0033504cf607
-MD5 e9cb01d737e977ae272b1b5bf39595a8 ChangeLog 7456
-RMD160 abb2b79aff172e95f11947ad7a2e453135410564 ChangeLog 7456
-SHA256 39b5d24c750bcfd1dd2e3ebe024b726260fe7f7a77fca1d8633b0033504cf607 ChangeLog 7456
+EBUILD icc-9.1.044.ebuild 4087 RMD160 36f98fc651f15abd74ba64dee9ce96730b737f61 SHA1 d62c5283c2c462312739630cef72171d32613924 SHA256 d198e85ccb23136001c14409398c1daa1f4f6c8fceaeecf5b7574341a1e78e51
+MD5 d2edb111e3ce7d4e4e9fe182f66fdddb icc-9.1.044.ebuild 4087
+RMD160 36f98fc651f15abd74ba64dee9ce96730b737f61 icc-9.1.044.ebuild 4087
+SHA256 d198e85ccb23136001c14409398c1daa1f4f6c8fceaeecf5b7574341a1e78e51 icc-9.1.044.ebuild 4087
+MISC ChangeLog 7658 RMD160 0731949aa5ac63e6a2f661132c60a789176111b7 SHA1 b56575c06f4cdd7122c24aaffdfed433c3d2e1de SHA256 9bed43a31b5000d8b18b1ea86e1eb446afa73aa038c607ae4198a59eb587ff6f
+MD5 4926aee01bcab23bbb134ea17ac71aee ChangeLog 7658
+RMD160 0731949aa5ac63e6a2f661132c60a789176111b7 ChangeLog 7658
+SHA256 9bed43a31b5000d8b18b1ea86e1eb446afa73aa038c607ae4198a59eb587ff6f ChangeLog 7658
 MISC metadata.xml 304 RMD160 c22bbb06561a4e9eed2673a9ea11dc670a458355 SHA1 bf5d4d482bb43a6e2971fc110a97e55cc4cce567 SHA256 6ac9047311ee3b29b7111a80fd8a69cafad0b06ce980c9940974e56070b73bca
 MD5 e5f080f4789ca82a2ac425df46fc95b7 metadata.xml 304
 RMD160 c22bbb06561a4e9eed2673a9ea11dc670a458355 metadata.xml 304
@@ -259,3 +276,6 @@ SHA256 24c5f297acb72879e11ee082648dcd03aa4f9a1f51bcf45f23211902faac5509 files/di
 MD5 b6b9508e47824b3cd6939cd391fa71c8 files/digest-icc-9.1.042 253
 RMD160 036984575d1e1b2e6ca7ea882e3ac332fb86f27e files/digest-icc-9.1.042 253
 SHA256 20c30ac4de85e09ea02580b5063637745811d943e2f0a54efbb7be4164473ec1 files/digest-icc-9.1.042 253
+MD5 726e0885ef6caaa898cea637d14cb3f4 files/digest-icc-9.1.044 253
+RMD160 389f4d1b535100946c66f68134e269a15079475c files/digest-icc-9.1.044 253
+SHA256 73740fe169e47cb1fa93556616cf9db894c1c9ed7ab9651d14b812ab665aa915 files/digest-icc-9.1.044 253
diff --git a/dev-lang/icc/files/9.1.044/05icc-ifc b/dev-lang/icc/files/9.1.044/05icc-ifc
new file mode 100644 (file)
index 0000000..838b251
--- /dev/null
@@ -0,0 +1,7 @@
+IA32ROOT=/opt/intel/compiler91
+INTEL_FLEXLM_LICENSE=/opt/intel/compiler91/licenses
+LDPATH=/opt/intel/compiler91/lib
+MANPATH=/opt/intel/compiler91/man
+PATH=/opt/intel/compiler91/bin
+ROOTPATH=/opt/intel/compiler91/bin
+
diff --git a/dev-lang/icc/files/9.1.044/icc b/dev-lang/icc/files/9.1.044/icc
new file mode 100644 (file)
index 0000000..c9cfd8d
--- /dev/null
@@ -0,0 +1,10 @@
+#! /bin/sh
+#
+# Gentoo-specific wrapper script for the Intel C/C++ compilers
+#
+# Maintainer: Karl Trygve Kalleberg <karltk@gentoo.org>
+#
+
+export INTEL_LICENSE_FILE="/opt/intel/compiler91/licenses"
+export LD_LIBRARY_PATH="/opt/intel/compiler91/lib"
+/opt/intel/compiler91/bin/iccbin $*
diff --git a/dev-lang/icc/files/9.1.044/icpc b/dev-lang/icc/files/9.1.044/icpc
new file mode 100644 (file)
index 0000000..728e244
--- /dev/null
@@ -0,0 +1,10 @@
+#! /bin/sh
+#
+# Gentoo-specific wrapper script for Intel C/C++ compiler suite
+#
+# Maintainer: Karl Trygve Kalleberg <karltk@gentoo.org>
+#
+
+export INTEL_LICENSE_FILE="/opt/intel/compiler91/licenses"
+export LD_LIBRARY_PATH="/opt/intel/compiler91/lib"
+/opt/intel/compiler91/bin/icpcbin $*
diff --git a/dev-lang/icc/files/digest-icc-9.1.044 b/dev-lang/icc/files/digest-icc-9.1.044
new file mode 100644 (file)
index 0000000..2a093d1
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 8a9df589a573cf975b17a53236238e4b l_cc_c_9.1.044.tar.gz 292700142
+RMD160 8895b76bf238bebb843c545e5cf9912e70b8ea87 l_cc_c_9.1.044.tar.gz 292700142
+SHA256 88f0b141e8fdf32022d094403f12950f3f8f82678535043b6edb0dfba94c0a3f l_cc_c_9.1.044.tar.gz 292700142
diff --git a/dev-lang/icc/icc-9.1.044.ebuild b/dev-lang/icc/icc-9.1.044.ebuild
new file mode 100644 (file)
index 0000000..1d98a85
--- /dev/null
@@ -0,0 +1,136 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/icc-9.1.044.ebuild,v 1.1 2006/11/14 21:45:09 zeypher Exp $
+
+inherit rpm versionator
+
+MAJOR=$(get_major_version ${PV})
+MINOR=$(get_version_component_range 2 ${PV})
+
+DESCRIPTION="Intel C++ Compiler - Intel's optimized compiler for Linux"
+SRC_URI="l_cc_c_${PV}.tar.gz"
+HOMEPAGE="http://www.intel.com/software/products/compilers/clin/"
+LICENSE="icc-9.0"
+RDEPEND=">=sys-libs/glibc-2.2.5"
+SLOT="${MAJOR}.${MINOR}"
+MMV="${MAJOR}.${MINOR}"
+KEYWORDS="~amd64 ~x86 ~ia64"
+IUSE=""
+RESTRICT="nostrip fetch"
+S="${WORKDIR}/l_cc_c_${PV}"
+
+pkg_nofetch() {
+       einfo "Please download ${SRC_URI} from "
+       einfo "${HOMEPAGE}"
+       einfo "and move it to ${DISTDIR}"
+}
+
+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/compiler${MMV//.}
+
+       for x in opt/intel/*/*/bin/* ; do
+               sed "s|<INSTALLDIR>|${instdir}|g" -i $x
+       done
+
+       # == SRC_BASE
+       eval `grep "^[ ]*PACKAGEID=" ${S}/install.sh`
+
+       # From UNTAG_SUPPORT() in 'install.sh'
+       SUPPORTFILE=${S}/opt/intel/cc*/${MMV}*/doc/csupport
+       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.sh'
+       SUPPORTFILE=${S}/opt/intel/idb*/${MMV}*/doc/idbsupport
+       if [ -f ${SUPPORTFILE} ]
+       then
+               einfo "Untagging: ${SUPPORTFILE}"
+               sed s@\<INSTALLTIMECOMBOPACKAGEID\>@${PACKAGEID}@g ${SUPPORTFILE} > ${SUPPORTFILE}.abs
+               mv ${SUPPORTFILE}.abs ${SUPPORTFILE}
+               chmod 644 ${SUPPORTFILE}
+       fi
+
+       # These should not be executable
+       find "${S}"/opt/intel/cc*/${MMV}*/{doc,man,include} -type f -exec chmod -x "{}" ";"
+       find "${S}"/opt/intel/cc*/${MMV}*/lib -name \*.a -exec chmod -x "{}" ";"
+       find "${S}"/opt/intel/idb*/${MMV}*/{doc,man} -type f -exec chmod -x "{}" ";"
+}
+
+src_install () {
+       instdir=/opt/intel/compiler${MMV//.}
+       dodoc ${S}/licenses/lgpltext
+       dodoc ${S}/clicense
+       dodir ${instdir}
+       cp -pPR opt/intel/cc*/${MMV}*/* ${D}/${instdir}
+       cp -pPR opt/intel/idb*/${MMV}*/* ${D}/${instdir}
+       insinto /etc/env.d
+       doins ${FILESDIR}/${PVR}/05icc-ifc || die
+       exeinto ${instdir}/bin
+       doexe ${FILESDIR}/${PVR}/icc || die
+       doexe ${FILESDIR}/${PVR}/icpc || die
+}
+
+pkg_postinst () {
+       instdir=/opt/intel/compiler${MMV//.}
+
+       einfo "http://www.intel.com/software/products/compilers/clin/noncom.htm"
+       einfo "From the above url you can get a free, non-commercial"
+       einfo "license to use the Intel C++ Compiler emailed to you."
+       einfo "You cannot run icc 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/"
+       einfo
+
+       ewarn
+       ewarn "Packages compiled with versions of icc older than 8.0 will need"
+       ewarn "to be recompiled. Until you do that, old packages will"
+       ewarn "work if you edit /etc/ld.so.conf and change '${instdir}'"
+       ewarn "to '/opt/intel/compiler70' 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 "BEFORE COMPILING IMPORTANT APPLICATIONS THAT YOUR"
+       ewarn "SYSTEM DEPENDS ON, READ THE WARNING ABOVE."
+       ewarn "THIS COULD RENDER YOUR SYSTEM UNUSABLE."
+       ewarn "THIS IS A PROBLEM WITH INTEL'S SOFTWARE, _NOT_"
+       ewarn "WITH GENTOO."
+
+       ewarn "If 'icc' breaks, use 'iccbin' instead and report a bug."
+       ewarn "Please use 'source /etc/profile' prior to merging any icc-enabled"
+       ewarn "ebuilds."
+}