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