1 |
jlec 10/05/28 22:35:39 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: icc-11.1.072.ebuild |
5 |
Log: |
6 |
Version Bump #316663 |
7 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.79 dev-lang/icc/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/icc/ChangeLog?rev=1.79&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/icc/ChangeLog?rev=1.79&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/icc/ChangeLog?r1=1.78&r2=1.79 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/icc/ChangeLog,v |
19 |
retrieving revision 1.78 |
20 |
retrieving revision 1.79 |
21 |
diff -u -r1.78 -r1.79 |
22 |
--- ChangeLog 23 Apr 2010 06:17:28 -0000 1.78 |
23 |
+++ ChangeLog 28 May 2010 22:35:39 -0000 1.79 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for dev-lang/icc |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/ChangeLog,v 1.78 2010/04/23 06:17:28 jlec Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/ChangeLog,v 1.79 2010/05/28 22:35:39 jlec Exp $ |
29 |
+ |
30 |
+*icc-11.1.072 (28 May 2010) |
31 |
+ |
32 |
+ 28 May 2010; Justin Lecher <jlec@g.o> +icc-11.1.072.ebuild: |
33 |
+ Version Bump #316663 |
34 |
|
35 |
23 Apr 2010; Justin Lecher <jlec@g.o> icc-11.1.056-r1.ebuild: |
36 |
Fix Sandbox Violations on non prefixed arches |
37 |
|
38 |
|
39 |
|
40 |
1.1 dev-lang/icc/icc-11.1.072.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/icc/icc-11.1.072.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/icc/icc-11.1.072.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: icc-11.1.072.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2010 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/icc-11.1.072.ebuild,v 1.1 2010/05/28 22:35:39 jlec Exp $ |
50 |
|
51 |
EAPI="3" |
52 |
|
53 |
inherit rpm versionator check-reqs |
54 |
|
55 |
PB=cproc |
56 |
PACKAGEID="l_${PB}_p_${PV}" |
57 |
RELEASE="$(get_version_component_range 1-2)" |
58 |
BUILD="$(get_version_component_range 3)" |
59 |
PID=1768 |
60 |
|
61 |
DESCRIPTION="Intel compiler suite for Linux" |
62 |
HOMEPAGE="http://www.intel.com/software/products/compilers/clin/" |
63 |
SRC_COM="http://registrationcenter-download.intel.com/irc_nas/${PID}/${PACKAGEID}" |
64 |
SRC_URI="amd64? ( ${SRC_COM}_intel64.tgz ) |
65 |
ia64? ( ${SRC_COM}_ia64.tgz ) |
66 |
x86? ( ${SRC_COM}_ia32.tgz )" |
67 |
|
68 |
LICENSE="Intel-SDP" |
69 |
SLOT="0" |
70 |
IUSE="eclipse +idb ipp mkl" |
71 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
72 |
|
73 |
RESTRICT="mirror strip binchecks" |
74 |
|
75 |
DEPEND="" |
76 |
RDEPEND="~virtual/libstdc++-3.3 |
77 |
amd64? ( app-emulation/emul-linux-x86-compat ) |
78 |
eclipse? ( >=dev-util/eclipse-sdk-3.4 )" |
79 |
|
80 |
DESTINATION="opt/intel/Compiler/${RELEASE}/${BUILD}" |
81 |
|
82 |
pkg_setup() { |
83 |
CHECKREQS_MEMORY=1024 |
84 |
CHECKREQS_DISK_BUILD=2048 |
85 |
use idb && use ipp && use mkl && CHECKREQS_DISK_BUILD=3072 |
86 |
check_reqs |
87 |
IARCH=ia32 |
88 |
use amd64 && IARCH=intel64 |
89 |
use ia64 && IARCH=ia64 |
90 |
} |
91 |
|
92 |
src_unpack() { |
93 |
unpack ${A} |
94 |
mv "${WORKDIR}"/l_* "${S}" |
95 |
cd "${S}" |
96 |
# tbb is open source, thus built from sources in dev-cpp/tbb |
97 |
rm -f rpm/*tbb*.rpm |
98 |
use idb || rm -f rpm/*idb*.rpm |
99 |
use ipp || rm -f rpm/*ipp*.rpm |
100 |
use mkl || rm -f rpm/*mkl*.rpm |
101 |
use eclipse || rm -f rpm/*cdt*.rpm |
102 |
if has_version "~dev-lang/ifc-${PV}"; then |
103 |
rm -f rpm/*cprolib*.rpm |
104 |
use idb && built_with_use dev-lang/ifc idb && rm -f rpm/*idb*.rpm |
105 |
use mkl && built_with_use dev-lang/ifc mkl && rm -f rpm/*mkl*.rpm |
106 |
fi |
107 |
for x in rpm/intel*.rpm; do |
108 |
einfo "Extracting $(basename ${x})..." |
109 |
rpm_unpack ./${x} || die "rpm_unpack ${x} failed" |
110 |
done |
111 |
} |
112 |
|
113 |
link_eclipse_plugins() { |
114 |
ECLIPSE_V="$1" |
115 |
CDT_V="$2" |
116 |
einfo "Linking eclipse (v${ECLIPSE_V}) plugin cdt (v${CDT_V})" |
117 |
dodir /usr/$(get_libdir)/eclipse-${ECLIPSE_V}/plugins |
118 |
dodir /usr/$(get_libdir)/eclipse-${ECLIPSE_V}/features |
119 |
|
120 |
for f in "${DESTINATION}/eclipse_support/cdt${CDT_V}/eclipse/plugins"/*; do |
121 |
dosym "${EROOT}${f}" /usr/$(get_libdir)/eclipse-${ECLIPSE_V}/plugins |
122 |
done |
123 |
|
124 |
for f in "${DESTINATION}/eclipse_support/cdt${CDT_V}/eclipse/features"/*; do |
125 |
dosym "${EROOT}${f}" /usr/$(get_libdir)/eclipse-${ECLIPSE_V}/features |
126 |
done |
127 |
eend $? |
128 |
} |
129 |
|
130 |
src_prepare() { |
131 |
# from the PURGE_UB804_FNP in pset/install_cc.sh |
132 |
# rm -f "${DESTINATION}"/lib/*/*libFNP.so || die |
133 |
|
134 |
# extract the tag function from the original install |
135 |
sed -n \ |
136 |
-e "s|find \$DESTINATION|find ${DESTINATION}|g" \ |
137 |
-e "s|@\$DESTINATION|@${EROOT}${DESTINATION}|g" \ |
138 |
-e '/^UNTAG_CFG_FILES[[:space:]]*(/,/^}/p' \ |
139 |
pset/install_cc.sh > tag.sh || die |
140 |
# fix world writeable files |
141 |
[[ -d ${DESTINATION}/mkl ]] && chmod 644 \ |
142 |
${DESTINATION}/mkl/tools/{environment,builder}/* \ |
143 |
${DESTINATION}/mkl/tools/plugins/*/* |
144 |
# remove for collision (bug #288038) |
145 |
has_version "~dev-lang/ifc-${PV}" && \ |
146 |
rm -f ${DESTINATION}/lib/*/locale/*/flexnet.cat |
147 |
} |
148 |
|
149 |
src_install() { |
150 |
einfo "Tagging" |
151 |
. ./tag.sh |
152 |
UNTAG_CFG_FILES |
153 |
|
154 |
keepdir /opt/intel/licenses |
155 |
einfo "Copying files" |
156 |
dodir "/${DESTINATION}" |
157 |
cp -pPR \ |
158 |
${DESTINATION}/* \ |
159 |
"${ED}"/${DESTINATION}/ \ |
160 |
|| die "Copying ${PN} failed" |
161 |
|
162 |
local envf=05icfc |
163 |
cat > ${envf} <<-EOF |
164 |
PATH="${EROOT}${DESTINATION}/bin/${IARCH}" |
165 |
ROOTPATH="${EROOT}${DESTINATION}/bin/${IARCH}" |
166 |
LDPATH="${EROOT}${DESTINATION}/lib/${IARCH}" |
167 |
LIBRARY_PATH="${EROOT}${DESTINATION}/lib/${IARCH}" |
168 |
NLSPATH="${EROOT}${DESTINATION}/lib/locale/en_US/%N" |
169 |
MANPATH="${EROOT}${DESTINATION}/man/en_US" |
170 |
EOF |
171 |
if [[ ! -e "${EROOT}"etc/env.d/${envf} ]] || |
172 |
[[ -n $(diff "${EROOT}"etc/env.d/${envf} ./${envf}) ]]; then |
173 |
doenvd ${envf} || die "doenvd ${envf} failed" |
174 |
fi |
175 |
[[ -d ${DESTINATION}/idb ]] && \ |
176 |
dosym ../../common/com.intel.debugger.help_1.0.0 \ |
177 |
${DESTINATION}/idb/gui/${IARCH}/plugins |
178 |
|
179 |
if use eclipse; then |
180 |
if has_version 'dev-util/eclipse-sdk:3.4'; then |
181 |
link_eclipse_plugins "3.4" "5.0" || die |
182 |
fi |
183 |
if has_version 'dev-util/eclipse-sdk:3.5'; then |
184 |
link_eclipse_plugins "3.5" "6.0" || die |
185 |
fi |
186 |
fi |
187 |
} |
188 |
|
189 |
pkg_postinst() { |
190 |
elog "Make sure you have recieved the an Intel license." |
191 |
elog "To receive a non-commercial license, you need to register at:" |
192 |
elog "http://software.intel.com/en-us/articles/non-commercial-software-development/" |
193 |
elog "Install the license file into ${EROOT}opt/intel/licenses." |
194 |
} |