Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/icc: ChangeLog metadata.xml icc-10.1.012.ebuild
Date: Fri, 01 Feb 2008 19:29:00
Message-Id: E1JL1ZJ-0004lG-M5@stork.gentoo.org
1 bicatali 08/02/01 19:28:57
2
3 Modified: ChangeLog metadata.xml
4 Added: icc-10.1.012.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.1.4)
8
9 Revision Changes Path
10 1.58 dev-lang/icc/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/icc/ChangeLog?rev=1.58&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/icc/ChangeLog?rev=1.58&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/icc/ChangeLog?r1=1.57&r2=1.58
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-lang/icc/ChangeLog,v
19 retrieving revision 1.57
20 retrieving revision 1.58
21 diff -u -r1.57 -r1.58
22 --- ChangeLog 25 Dec 2007 13:55:33 -0000 1.57
23 +++ ChangeLog 1 Feb 2008 19:28:57 -0000 1.58
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-lang/icc
26 -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/ChangeLog,v 1.57 2007/12/25 13:55:33 phreak Exp $
28 +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/ChangeLog,v 1.58 2008/02/01 19:28:57 bicatali Exp $
30 +
31 +*icc-10.1.012 (01 Feb 2008)
32 +
33 + 01 Feb 2008; Sébastien Fabbro <bicatali@g.o> +icc-10.1.012.ebuild:
34 + Version bump
35
36 25 Dec 2007; Christian Heim <phreak@g.o> metadata.xml:
37 Fixing the unsigned Manifest.
38
39
40
41 1.9 dev-lang/icc/metadata.xml
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/icc/metadata.xml?rev=1.9&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/icc/metadata.xml?rev=1.9&content-type=text/plain
45 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/icc/metadata.xml?r1=1.8&r2=1.9
46
47 Index: metadata.xml
48 ===================================================================
49 RCS file: /var/cvsroot/gentoo-x86/dev-lang/icc/metadata.xml,v
50 retrieving revision 1.8
51 retrieving revision 1.9
52 diff -u -r1.8 -r1.9
53 --- metadata.xml 25 Dec 2007 13:55:33 -0000 1.8
54 +++ metadata.xml 1 Feb 2008 19:28:57 -0000 1.9
55 @@ -2,16 +2,16 @@
56 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
57
58 <pkgmetadata>
59 - <herd>no-herd</herd>
60 - <maintainer>
61 - <email>bicatali@g.o</email>
62 - </maintainer>
63 - <longdescription lang="en">
64 - The Intel® C++ Compiler is a full featured C/C++ compiler for Intel
65 - based architectures. The compiler supports multi-threading, automatic
66 - processor dispatch, vectorization, auto-parallelization, OpenMP, data
67 - prefetching, loop unrolling. The package comes with extensive
68 - documentation. The product can be installed as a non-commercial as
69 - well. License, terms of qualifications can be found on the web site.
70 - </longdescription>
71 +<herd>no-herd</herd>
72 +<maintainer>
73 + <email>bicatali@g.o</email>
74 +</maintainer>
75 +<longdescription lang="en">
76 + The Intel® C++ Compiler is a full featured C/C++ compiler for Intel
77 + based architectures. The compiler supports multi-threading, automatic
78 + processor dispatch, vectorization, auto-parallelization, OpenMP, data
79 + prefetching, loop unrolling. The package comes with extensive
80 + documentation. The product can be installed as a non-commercial as
81 + well. License, terms of qualifications can be found on the web site.
82 +</longdescription>
83 </pkgmetadata>
84
85
86
87 1.1 dev-lang/icc/icc-10.1.012.ebuild
88
89 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/icc/icc-10.1.012.ebuild?rev=1.1&view=markup
90 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/icc/icc-10.1.012.ebuild?rev=1.1&content-type=text/plain
91
92 Index: icc-10.1.012.ebuild
93 ===================================================================
94 # Copyright 1999-2008 Gentoo Foundation
95 # Distributed under the terms of the GNU General Public License v2
96 # $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/icc-10.1.012.ebuild,v 1.1 2008/02/01 19:28:57 bicatali Exp $
97
98 inherit rpm eutils
99
100 PID=952
101 PB=cc
102 PEXEC="icc icpc"
103 DESCRIPTION="Intel C/C++ optimized compiler for Linux"
104 HOMEPAGE="http://www.intel.com/software/products/compilers/clin/"
105
106 ###
107 # everything below common to ifc and icc
108 # no eclass: very likely to change for next versions
109 ###
110 PACKID="l_${PB}_p_${PV}"
111 KEYWORDS="~amd64 ~ia64 ~x86"
112 SRC_COM="http://registrationcenter-download.intel.com/irc_nas/${PID}/${PACKID}"
113 SRC_URI="amd64? ( ${SRC_COM}_intel64.tar.gz )
114 ia64? ( ${SRC_COM}_ia64.tar.gz )
115 x86? ( ${SRC_COM}_ia32.tar.gz )"
116
117 LICENSE="Intel-SDP"
118 SLOT="0"
119
120 RESTRICT="test strip mirror"
121 IUSE=""
122 DEPEND=""
123 RDEPEND="virtual/libstdc++
124 amd64? ( app-emulation/emul-linux-x86-compat )"
125
126 src_unpack() {
127 unpack ${A}
128 mv "${WORKDIR}"/l_* "${S}"
129 cd "${S}"
130
131 local ext=
132 use amd64 && ext=e
133 INSTALL_DIR=/opt/intel/${PB}${ext}/${PV}
134
135 # debugger installed with dev-lang/idb
136 rm -f data/intel*idb*.rpm
137
138 for x in data/intel*.rpm; do
139 einfo "Extracting $(basename ${x})..."
140 rpm_unpack "${S}/${x}" || die "rpm_unpack ${x} failed"
141 done
142
143 einfo "Fixing paths and tagging"
144 cd "${S}"/${INSTALL_DIR}/bin
145 sed -e "s|<INSTALLDIR>|${INSTALL_DIR}|g" \
146 -e 's|export -n IA32ROOT;||g' \
147 -i ${PEXEC} *sh \
148 || die "sed fixing shells and paths failed"
149
150 cd "${S}"/${INSTALL_DIR}/doc
151 sed -e "s|\<installpackageid\>|${PACKID}|g" \
152 -e "s|\<INSTALLTIMECOMBOPACKAGEID\>|${PACKID}|g" \
153 -i *support \
154 || die "sed support file failed"
155 chmod 644 *support
156 }
157
158 src_install() {
159 einfo "Copying files"
160 dodir ${INSTALL_DIR}
161 cp -pPR \
162 "${S}"/${INSTALL_DIR}/* \
163 "${D}"/${INSTALL_DIR}/ \
164 || die "Copying ${PN} failed"
165
166 local env_file=05${PN}
167 cat > ${env_file} <<-EOF
168 PATH=${INSTALL_DIR}/bin
169 ROOTPATH=${INSTALL_DIR}/bin
170 LDPATH=${INSTALL_DIR}/lib
171 MANPATH=${INSTALL_DIR}/man
172 EOF
173 doenvd ${env_file} || die "doenvd ${env_file} failed"
174 }
175
176 pkg_postinst () {
177 # remove left over from unpacking
178 rm -f "${ROOT}"/opt/intel/{intel_sdp_products.db,.*.log} \
179 || die "remove logs failed"
180
181 elog "Make sure you have recieved the a license for ${PN},"
182 elog "you cannot run ${PN} without a license file."
183 elog "To receive a non-commercial license, you need to register."
184 elog "Read the website for more information on this license:"
185 elog "${HOMEPAGE}"
186 elog "Then put the license file into ${ROOT}/opt/intel/licenses."
187 elog "\nTo use ${PN} issue first \n\tsource /etc/profile"
188 elog "Debugger is installed with dev-lang/idb"
189 }
190
191
192
193 --
194 gentoo-commits@l.g.o mailing list