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