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: metadata.xml ChangeLog icc-10.0.026.ebuild
Date: Tue, 02 Oct 2007 11:45:31
Message-Id: E1Icg36-0007gy-Dt@stork.gentoo.org
1 bicatali 07/10/02 11:36:24
2
3 Modified: metadata.xml ChangeLog
4 Added: icc-10.0.026.ebuild
5 Log:
6 Version bump. Restructured ebuild with newer package. Debugger now in dev-lang/idb. Added myself as maintainer and added longdescription.
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.6 dev-lang/icc/metadata.xml
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/icc/metadata.xml?rev=1.6&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/icc/metadata.xml?rev=1.6&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/icc/metadata.xml?r1=1.5&r2=1.6
15
16 Index: metadata.xml
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-lang/icc/metadata.xml,v
19 retrieving revision 1.5
20 retrieving revision 1.6
21 diff -u -r1.5 -r1.6
22 --- metadata.xml 26 May 2005 23:16:12 -0000 1.5
23 +++ metadata.xml 2 Oct 2007 11:36:23 -0000 1.6
24 @@ -7,5 +7,17 @@
25 <name>Karl Trygve Kalleberg</name>
26 <description>Also, bug Kugelfang.</description>
27 </maintainer>
28 +<maintainer>
29 +<email>bicatali@g.o</email>
30 +</maintainer>
31 +<longdescription lang="en">
32 +The Intel® C++ Compiler is a full featured C/C++ compiler for Intel
33 +based architectures. The compiler supports multi-threading, automatic
34 +processor dispatch, vectorization, auto-parallelization, OpenMP, data
35 +prefetching, loop unrolling. The package comes with extensive
36 +documentation.
37 +The product can be installed as a non-commercial as
38 +well. License, terms of qualifications can be found on the web site.
39 +</longdescription>
40 </pkgmetadata>
41
42
43
44
45 1.43 dev-lang/icc/ChangeLog
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/icc/ChangeLog?rev=1.43&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/icc/ChangeLog?rev=1.43&content-type=text/plain
49 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/icc/ChangeLog?r1=1.42&r2=1.43
50
51 Index: ChangeLog
52 ===================================================================
53 RCS file: /var/cvsroot/gentoo-x86/dev-lang/icc/ChangeLog,v
54 retrieving revision 1.42
55 retrieving revision 1.43
56 diff -u -r1.42 -r1.43
57 --- ChangeLog 2 Jul 2007 14:43:12 -0000 1.42
58 +++ ChangeLog 2 Oct 2007 11:36:23 -0000 1.43
59 @@ -1,6 +1,13 @@
60 # ChangeLog for dev-lang/icc
61 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
62 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/ChangeLog,v 1.42 2007/07/02 14:43:12 peper Exp $
63 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/ChangeLog,v 1.43 2007/10/02 11:36:23 bicatali Exp $
64 +
65 +*icc-10.0.026 (02 Oct 2007)
66 +
67 + 02 Oct 2007; Sébastien Fabbro <bicatali@g.o> metadata.xml,
68 + +icc-10.0.026.ebuild:
69 + Version bump. Restructured ebuild with newer package. Debugger now in
70 + dev-lang/idb. Added myself as maintainer and added longdescription.
71
72 02 Jul 2007; Piotr Jaroszyński <peper@g.o> icc-9.1.045.ebuild:
73 (QA) RESTRICT clean up.
74
75
76
77 1.1 dev-lang/icc/icc-10.0.026.ebuild
78
79 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/icc/icc-10.0.026.ebuild?rev=1.1&view=markup
80 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/icc/icc-10.0.026.ebuild?rev=1.1&content-type=text/plain
81
82 Index: icc-10.0.026.ebuild
83 ===================================================================
84 # Copyright 1999-2007 Gentoo Foundation
85 # Distributed under the terms of the GNU General Public License v2
86 # $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/icc-10.0.026.ebuild,v 1.1 2007/10/02 11:36:23 bicatali Exp $
87
88 inherit rpm
89
90 PID=786
91 PB=cc
92 PEXEC=icc
93 DESCRIPTION="Intel C/C++ optimized compiler for Linux"
94 HOMEPAGE="http://www.intel.com/software/products/compilers/clin/"
95
96 ###
97 # everything below common to ifc and icc
98 # no eclass: very likely to change for next versions
99 ###
100 PACKAGEID="l_${PB}_c_${PV}"
101 KEYWORDS="~amd64 ~ia64 ~x86"
102 SRC_URI="amd64? ( http://registrationcenter-download.intel.com/irc_nas/${PID}/${PACKAGEID}_intel64.tar.gz )
103 ia64? ( http://registrationcenter-download.intel.com/irc_nas/${PID}/${PACKAGEID}_ia64.tar.gz )
104 x86? ( http://registrationcenter-download.intel.com/irc_nas/${PID}/${PACKAGEID}_ia32.tar.gz )"
105
106 LICENSE="Intel-SDP"
107 SLOT="0"
108
109 RESTRICT="test strip mirror"
110 IUSE=""
111 DEPEND=""
112
113 src_unpack() {
114 unpack ${A}
115 mv "${WORKDIR}"/l_* "${S}"
116 cd "${S}"
117
118 local ext=
119 use amd64 && ext=e
120 INSTALL_DIR=/opt/intel/${PB}${ext}/${PV}
121
122 # debugger installed with dev-lang/idb
123 rm -f data/intel*idb*.rpm
124
125 for x in data/intel*.rpm; do
126 einfo "Extracting $(basename ${x})..."
127 rpm_unpack "${S}/${x}" || die "rpm_unpack ${x} failed"
128 done
129
130 einfo "Fixing paths and tagging"
131 cd "${S}"/${INSTALL_DIR}/bin
132 sed -e "s|<INSTALLDIR>|${INSTALL_DIR}|g" \
133 -i ${PEXEC} ${PEXEC}*sh \
134 || die "sed fixing path failed"
135
136 cd "${S}"/${INSTALL_DIR}/doc
137 sed -e "s|\<installpackageid\>|${PACKAGEID}|g" \
138 -e "s|\<INSTALLTIMECOMBOPACKAGEID\>|${PACKAGEID}|g" \
139 -i *support \
140 || die "sed support file failed"
141 chmod 644 *support
142 }
143
144 src_install() {
145 einfo "Copying files"
146 dodir ${INSTALL_DIR}
147 cp -pPR \
148 "${S}"/${INSTALL_DIR}/* \
149 "${D}"/${INSTALL_DIR}/ \
150 || die "copying ${PN} failed"
151
152 local env_file=05${PN}
153 echo "PATH=${INSTALL_DIR}/bin" > ${env_file}
154 echo "ROOTPATH=${INSTALL_DIR}/bin" >> ${env_file}
155 echo "LDPATH=${INSTALL_DIR}/lib" >> ${env_file}
156 echo "MANPATH=${INSTALL_DIR}/man" >> ${env_file}
157 echo "INCLUDE=${INSTALL_DIR}/include" >> ${env_file}
158 doenvd ${env_file} || die "doenvd ${env_file} failed"
159 }
160
161 pkg_postinst () {
162 # remove left over from unpacking
163 rm -f "${ROOT}"/opt/intel/{intel_sdp_products.db,.*.log} || die "remove logs failed"
164
165 elog "Make sure you have recieved the a license for ${PN}"
166 elog "To receive a restrictive non-commercial licenses , you need to register at:"
167 elog "http://www.intel.com/cd/software/products/asmo-na/eng/download/download/219771.htm"
168 elog "Read the website for more information on this license."
169 elog "You cannot run ${PN} without a license file."
170 elog "Then put the license file into ${ROOT}/opt/intel/licenses"
171 elog "\nTo use ${PN} issue first \n\tsource /etc/profile"
172 elog "Debugger is installed with dev-lang/idb"
173 }
174
175
176
177 --
178 gentoo-commits@g.o mailing list