Gentoo Archives: gentoo-commits

From: Sebastien Fabbro <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/bicatali:master commit in: sci-libs/atlas/, sci-libs/openblas/, sci-libs/mkl/, dev-lang/icc/, ...
Date: Wed, 23 Feb 2011 05:40:06
Message-Id: 2b4d04fd26d975f0a5fc3fade77e590d94d81dfd.bicatali@gentoo
1 commit: 2b4d04fd26d975f0a5fc3fade77e590d94d81dfd
2 Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 23 05:19:50 2011 +0000
4 Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 23 05:19:50 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/bicatali.git;a=commit;h=2b4d04fd
7
8 added openblas
9
10 ---
11 app-admin/eselect/ChangeLog | 734 ++++++++++++++++++++
12 app-admin/eselect/Manifest | 5 +
13 app-admin/eselect/eselect-1.2.14-r1.ebuild | 64 ++
14 app-admin/eselect/files/eselect-alternatives.patch | 611 ++++++++++++++++
15 app-admin/eselect/metadata.xml | 8 +
16 dev-lang/icc/icc-12.0.0.084.ebuild | 28 -
17 ...idb-12.0.0.084.ebuild => idb-12.0.2.137.ebuild} | 0
18 ...ifc-12.0.0.084.ebuild => ifc-12.0.2.137.ebuild} | 0
19 .../intel-common/intel-common-12.0.0.084.ebuild | 54 --
20 .../{atlas-3.9.32.ebuild => atlas-3.9.37.ebuild} | 0
21 ...3-r6.ebuild => cblas-reference-20110218.ebuild} | 0
22 .../{ipp-7.0.1.084.ebuild => ipp-7.0.2.137.ebuild} | 0
23 ...mkl-10.3.0.084.ebuild => mkl-10.3.2.137.ebuild} | 0
24 sci-libs/openblas/ChangeLog | 10 +
25 sci-libs/openblas/Manifest | 4 +
26 sci-libs/openblas/files/openblas-sharedlibs.patch | 45 ++
27 sci-libs/openblas/metadata.xml | 14 +
28 sci-libs/openblas/openblas-9999.ebuild | 107 +++
29 18 files changed, 1602 insertions(+), 82 deletions(-)
30
31 diff --git a/app-admin/eselect/ChangeLog b/app-admin/eselect/ChangeLog
32 new file mode 100644
33 index 0000000..b666c6d
34 --- /dev/null
35 +++ b/app-admin/eselect/ChangeLog
36 @@ -0,0 +1,734 @@
37 +# ChangeLog for app-admin/eselect
38 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
39 +# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/ChangeLog,v 1.179 2011/01/22 21:38:52 ulm Exp $
40 +
41 + 22 Jan 2011; Ulrich Mueller <ulm@g.o> -eselect-1.2.10.ebuild,
42 + -eselect-1.2.13.ebuild:
43 + Remove old.
44 +
45 + 22 Jan 2011; Kacper Kowalik <xarthisius@g.o> eselect-1.2.11.ebuild:
46 + ppc64 stable wrt #344537
47 +
48 +*eselect-1.2.14 (14 Jan 2011)
49 +
50 + 14 Jan 2011; Ulrich Mueller <ulm@g.o> +eselect-1.2.14.ebuild:
51 + Version bump.
52 +
53 +*eselect-1.2.13 (27 Nov 2010)
54 +
55 + 27 Nov 2010; Ulrich Mueller <ulm@g.o> -eselect-1.2.12.ebuild,
56 + +eselect-1.2.13.ebuild:
57 + Version bump, fixes bug 346837. Remove intermediate version.
58 +
59 +*eselect-1.2.12 (21 Nov 2010)
60 +
61 + 21 Nov 2010; Ulrich Mueller <ulm@g.o> +eselect-1.2.12.ebuild:
62 + Version bump.
63 +
64 + 14 Nov 2010; Raúl Porcel <armin76@g.o> eselect-1.2.11.ebuild:
65 + alpha/ia64/m68k/s390/sh/sparc stable wrt #344537
66 +
67 + 09 Nov 2010; Markus Meier <maekke@g.o> eselect-1.2.11.ebuild:
68 + arm stable, bug #344537
69 +
70 + 09 Nov 2010; Jeroen Roovers <jer@g.o> eselect-1.2.11.ebuild:
71 + Stable for PPC (bug #344537).
72 +
73 + 09 Nov 2010; Jeroen Roovers <jer@g.o> eselect-1.2.11.ebuild:
74 + Stable for HPPA (bug #344537).
75 +
76 + 08 Nov 2010; Markos Chandras <hwoarang@g.o> eselect-1.2.11.ebuild:
77 + Stable on amd64 wrt bug #344537
78 +
79 + 08 Nov 2010; Christian Faulhammer <fauli@g.o>
80 + eselect-1.2.11.ebuild:
81 + stable x86, bug 344537
82 +
83 + 23 Oct 2010; Ulrich Mueller <ulm@g.o> -eselect-1.2.9.ebuild:
84 + Remove old.
85 +
86 + 23 Oct 2010; Mark Loeser <halcy0n@g.o> eselect-1.2.10.ebuild:
87 + Mark ppc64; bug #313829
88 +
89 +*eselect-1.2.11 (27 Jul 2010)
90 +
91 + 27 Jul 2010; Ulrich Mueller <ulm@g.o> -eselect-1.2.8.ebuild,
92 + +eselect-1.2.11.ebuild:
93 + Version bump. Remove old.
94 +
95 + 23 May 2010; Pacho Ramos <pacho@g.o> eselect-1.2.10.ebuild:
96 + stable amd64, bug 313829
97 +
98 + 08 May 2010; Raúl Porcel <armin76@g.o> eselect-1.2.10.ebuild:
99 + alpha/arm/ia64/m68k/s390/sh stable wrt #313829
100 +
101 + 16 Apr 2010; Brent Baude <ranger@g.o> eselect-1.2.10.ebuild:
102 + stable ppc, bug 313829
103 +
104 + 09 Apr 2010; Tiago Cunha <tcunha@g.o> eselect-1.2.10.ebuild:
105 + stable sparc, bug 313829
106 +
107 + 09 Apr 2010; Jeroen Roovers <jer@g.o> eselect-1.2.10.ebuild:
108 + Stable for HPPA (bug #313829).
109 +
110 + 08 Apr 2010; Christian Faulhammer <fauli@g.o>
111 + eselect-1.2.10.ebuild:
112 + stable x86, bug 313829
113 +
114 + 10 Feb 2010; Joseph Jezak <josejx@g.o> eselect-1.2.9.ebuild:
115 + Marked ppc stable for bug #302878.
116 +
117 + 06 Feb 2010; Raúl Porcel <armin76@g.o> eselect-1.2.9.ebuild:
118 + alpha/ia64/m68k/s390/sh/sparc stable wrt #302878
119 +
120 +*eselect-1.2.10 (05 Feb 2010)
121 +
122 + 05 Feb 2010; Ulrich Mueller <ulm@g.o> -eselect-1.2.3.ebuild,
123 + +eselect-1.2.10.ebuild:
124 + Version bump. Remove old.
125 +
126 + 04 Feb 2010; Markus Meier <maekke@g.o> eselect-1.2.9.ebuild:
127 + amd64/arm stable, bug #302878
128 +
129 + 02 Feb 2010; Jeroen Roovers <jer@g.o> eselect-1.2.9.ebuild:
130 + Stable for HPPA (bug #302878).
131 +
132 + 01 Feb 2010; Tiago Cunha <tcunha@g.o> eselect-1.2.9.ebuild:
133 + stable sparc, bug 302878
134 +
135 + 01 Feb 2010; Christian Faulhammer <fauli@g.o> eselect-1.2.9.ebuild:
136 + stable x86, bug 302878
137 +
138 + 01 Feb 2010; Brent Baude <ranger@g.o> eselect-1.2.9.ebuild:
139 + stable ppc64, bug 302878
140 +
141 + 11 Jan 2010; Raúl Porcel <armin76@g.o> eselect-1.2.8.ebuild:
142 + alpha/arm/ia64/m68k/s390/sh stable wrt #297496
143 +
144 + 31 Dec 2009; Ulrich Mueller <ulm@g.o> eselect-1.2.9.ebuild:
145 + Inherit bash-completion.eclass, bug 299051.
146 +
147 + 31 Dec 2009; Brent Baude <ranger@g.o> eselect-1.2.8.ebuild:
148 + Marking eselect-1.2.8 ppc64 for bug 297496
149 +
150 +*eselect-1.2.9 (31 Dec 2009)
151 +
152 + 31 Dec 2009; Ulrich Mueller <ulm@g.o> -eselect-1.2.7.ebuild,
153 + +eselect-1.2.9.ebuild:
154 + Version bump, fixes bugs 298742 and 298789. Remove old.
155 +
156 + 29 Dec 2009; Christian Faulhammer <fauli@g.o> eselect-1.2.8.ebuild:
157 + stable x86, bug 297496
158 +
159 + 29 Dec 2009; Samuli Suominen <ssuominen@g.o> eselect-1.2.8.ebuild:
160 + amd64 stable wrt #297496
161 +
162 + 28 Dec 2009; nixnut <nixnut@g.o> eselect-1.2.8.ebuild:
163 + ppc stable #297496
164 +
165 + 28 Dec 2009; Tiago Cunha <tcunha@g.o> eselect-1.2.8.ebuild:
166 + stable sparc, bug 297496
167 +
168 + 24 Dec 2009; Jeroen Roovers <jer@g.o> eselect-1.2.8.ebuild:
169 + Stable for HPPA (bug #297496).
170 +
171 +*eselect-1.2.8 (20 Nov 2009)
172 +
173 + 20 Nov 2009; Ulrich Mueller <ulm@g.o> -eselect-1.2.5.ebuild,
174 + -eselect-1.2.6.ebuild, +eselect-1.2.8.ebuild:
175 + Version bump, fixes bug 293317. Remove old.
176 +
177 +*eselect-1.2.7 (14 Nov 2009)
178 +
179 + 14 Nov 2009; Ulrich Mueller <ulm@g.o> +eselect-1.2.7.ebuild:
180 + Version bump, fixes bug 289095.
181 +
182 +*eselect-1.2.6 (07 Nov 2009)
183 +
184 + 07 Nov 2009; Ulrich Mueller <ulm@g.o> -eselect-1.1.3.ebuild,
185 + -eselect-1.2.4.ebuild, +eselect-1.2.6.ebuild:
186 + Version bump. Remove old.
187 +
188 +*eselect-1.2.5 (04 Nov 2009)
189 +
190 + 04 Nov 2009; Ulrich Mueller <ulm@g.o> +eselect-1.2.5.ebuild:
191 + Version bump; fixes bugs 280191 and 288527.
192 +
193 + 13 Oct 2009; Ulrich Mueller <ulm@g.o> eselect-1.1.3.ebuild,
194 + eselect-1.2.3.ebuild, eselect-1.2.4.ebuild:
195 + Update dependency after realpath package move, bug 273968.
196 +
197 + 11 Oct 2009; Jeroen Roovers <jer@g.o> eselect-1.2.3.ebuild:
198 + Stable for HPPA (bug #287135).
199 +
200 + 09 Oct 2009; Fabian Groffen <grobian@g.o> eselect-1.2.4.ebuild:
201 + Added Prefix keywords and fixed the ebuild for Prefix
202 +
203 +*eselect-1.2.4 (09 Oct 2009)
204 +
205 + 09 Oct 2009; Ulrich Mueller <ulm@g.o> -eselect-1.0.12.ebuild,
206 + -eselect-1.2.1.ebuild, +eselect-1.2.4.ebuild:
207 + Version bump. Remove old.
208 +
209 + 08 Oct 2009; Raúl Porcel <armin76@g.o> eselect-1.2.3.ebuild:
210 + alpha/arm/ia64/m68k/s390/sh stable wrt #287135
211 +
212 + 05 Oct 2009; Tiago Cunha <tcunha@g.o> eselect-1.2.3.ebuild:
213 + stable sparc, bug 287135
214 +
215 + 03 Oct 2009; Christian Faulhammer <fauli@g.o> eselect-1.2.3.ebuild:
216 + stable x86, bug 287135
217 +
218 + 03 Oct 2009; Brent Baude <ranger@g.o> eselect-1.2.3.ebuild:
219 + Marking eselect-1.2.3 ppc64 for bug 287135
220 +
221 + 03 Oct 2009; Mounir Lamouri <volkmar@g.o> eselect-1.2.3.ebuild:
222 + Stable for ppc, bug 287135
223 +
224 + 01 Oct 2009; Dawid Węgliński <cla@g.o> eselect-1.2.3.ebuild:
225 + Stable on amd64 (bug #287135)
226 +
227 +*eselect-1.2.3 (20 Sep 2009)
228 +
229 + 20 Sep 2009; Ulrich Mueller <ulm@g.o> -eselect-1.2.2.ebuild,
230 + +eselect-1.2.3.ebuild:
231 + Version bump, fixes bug 285762. Remove intermediate version.
232 +
233 +*eselect-1.2.2 (19 Sep 2009)
234 +
235 + 19 Sep 2009; Ulrich Mueller <ulm@g.o> +eselect-1.2.2.ebuild:
236 + Version bump.
237 +
238 + 15 Sep 2009; Ulrich Mueller <ulm@g.o> -eselect-1.1.1.ebuild,
239 + -eselect-1.2.ebuild:
240 + Remove old.
241 +
242 + 15 Sep 2009; Jeroen Roovers <jer@g.o> eselect-1.1.3.ebuild:
243 + Stable for HPPA (bug #283079).
244 +
245 + 11 Sep 2009; Raúl Porcel <armin76@g.o> eselect-1.1.3.ebuild:
246 + arm/ia64/m68k/s390/sh/sparc stable wrt #283079
247 +
248 +*eselect-1.2.1 (09 Sep 2009)
249 +
250 + 09 Sep 2009; Ulrich Mueller <ulm@g.o> +eselect-1.2.1.ebuild:
251 + Version bump, fixes bug 283932.
252 +
253 + 07 Sep 2009; Markus Meier <maekke@g.o> eselect-1.1.3.ebuild:
254 + amd64/x86 stable, bug #283079
255 +
256 + 31 Aug 2009; Brent Baude <ranger@g.o> eselect-1.1.3.ebuild:
257 + Marking eselect-1.1.3 ppc64 for bug 283079
258 +
259 + 31 Aug 2009; Brent Baude <ranger@g.o> eselect-1.1.1.ebuild:
260 + Marking eselect-1.1.1 ppc64 for bug 277187
261 +
262 + 30 Aug 2009; Tobias Klausmann <klausman@g.o> eselect-1.1.3.ebuild:
263 + Stable on alpha, bug #283079
264 +
265 + 30 Aug 2009; nixnut <nixnut@g.o> eselect-1.1.3.ebuild:
266 + ppc stable #283079
267 +
268 +*eselect-1.2 (27 Aug 2009)
269 +
270 + 27 Aug 2009; Ulrich Mueller <ulm@g.o> -eselect-1.1.2.ebuild,
271 + -eselect-1.2_rc1.ebuild, +eselect-1.2.ebuild:
272 + Version bump. Remove intermediate versions.
273 +
274 +*eselect-1.2_rc1 (19 Aug 2009)
275 +
276 + 19 Aug 2009; Ulrich Mueller <ulm@g.o> +eselect-1.2_rc1.ebuild:
277 + Version bump; fixes bug 280598; enhancements from bugs 154511 and 274760.
278 +
279 +*eselect-1.1.3 (16 Aug 2009)
280 +
281 + 16 Aug 2009; Ulrich Mueller <ulm@g.o> -eselect-1.0.10.ebuild,
282 + -eselect-1.0.11-r1.ebuild,
283 + -files/eselect-1.0.11-fix-paludis-command.patch, +eselect-1.1.3.ebuild:
284 + Version bump, fixes bug 279662. Remove old.
285 +
286 + 21 Jul 2009; <chainsaw@g.o> eselect-1.1.1.ebuild:
287 + Marked stable on AMD64 as requested by Ulrich Müller <ulm@g.o> in
288 + bug #277187. Tested with the profile module.
289 +
290 + 17 Jul 2009; Raúl Porcel <armin76@g.o> eselect-1.1.1.ebuild:
291 + alpha/arm/ia64/m68k/s390/sh stable wrt #277187
292 +
293 + 16 Jul 2009; nixnut <nixnut@g.o> eselect-1.1.1.ebuild:
294 + ppc stable #277187
295 +
296 + 09 Jul 2009; Jeroen Roovers <jer@g.o> eselect-1.1.1.ebuild:
297 + Stable for HPPA (bug #277187).
298 +
299 + 09 Jul 2009; Christian Faulhammer <fauli@g.o> eselect-1.1.1.ebuild:
300 + stable x86, bug 277187
301 +
302 + 09 Jul 2009; Ferris McCormick <fmccor@g.o> eselect-1.1.1.ebuild:
303 + Sparc stable, Bug #277187.
304 +
305 + 28 Jun 2009; Brent Baude <ranger@g.o> eselect-1.0.12.ebuild:
306 + Marking eselect-1.0.12 ppc64 for bug 270138
307 +
308 +*eselect-1.1.2 (27 Jun 2009)
309 +
310 + 27 Jun 2009; Ulrich Mueller <ulm@g.o> +eselect-1.1.2.ebuild:
311 + Version bump.
312 +
313 + 12 Jun 2009; Ulrich Mueller <ulm@g.o> -eselect-1.0.11-r2.ebuild,
314 + -files/eselect-1.0.11-parent-profiles.patch,
315 + -files/eselect-1.0.11-relative-profiles.patch, -eselect-1.1.ebuild,
316 + metadata.xml:
317 + Remove intermediate versions.
318 +
319 +*eselect-1.1.1 (06 Jun 2009)
320 +
321 + 06 Jun 2009; Ulrich Mueller <ulm@g.o> +eselect-1.1.1.ebuild:
322 + Version bump. Remove paludis USE flag since it doesn't make much sense
323 + without the corresponding dependency; use app-admin/eselect-package-manager
324 + for selection of a package manager instead.
325 +
326 + 02 Jun 2009; Ulrich Mueller <ulm@g.o> eselect-1.1.ebuild,
327 + -eselect-1.1_rc2.ebuild, -eselect-1.1_rc3.ebuild:
328 + Don't depend on paludis, in order to avoid a circular dependency; thanks
329 + to Ingmar Vanhassel for pointing this out. Print a warning message in
330 + pkg_postinst instead. Remove release candidates.
331 +
332 +*eselect-1.1 (27 May 2009)
333 +
334 + 27 May 2009; Ulrich Mueller <ulm@g.o> +eselect-1.1.ebuild,
335 + -eselect-9999.ebuild:
336 + Version bump. Remove live ebuild.
337 +
338 + 24 May 2009; Ulrich Mueller <ulm@g.o> eselect-1.0.10.ebuild,
339 + eselect-1.0.11-r1.ebuild, eselect-1.0.11-r2.ebuild, eselect-1.0.12.ebuild,
340 + eselect-1.1_rc2.ebuild, eselect-1.1_rc3.ebuild, eselect-9999.ebuild:
341 + Fix dependencies: readlink/realpath are also needed at run time.
342 +
343 + 24 May 2009; Markus Meier <maekke@g.o> eselect-1.0.12.ebuild:
344 + amd64 stable, bug #270138
345 +
346 + 21 May 2009; Brent Baude <ranger@g.o> eselect-1.0.12.ebuild:
347 + stable ppc, bug 270138
348 +
349 + 21 May 2009; Raúl Porcel <armin76@g.o> eselect-1.0.12.ebuild:
350 + arm/ia64/m68k/s390/sh/sparc stable wrt #270138
351 +
352 +*eselect-1.1_rc3 (21 May 2009)
353 +
354 + 21 May 2009; Ulrich Mueller <ulm@g.o> +eselect-1.1_rc3.ebuild:
355 + Version bump.
356 +
357 + 20 May 2009; Ulrich Mueller <ulm@g.o> eselect-1.1_rc2.ebuild,
358 + eselect-9999.ebuild:
359 + Create directory for news-tng module. Set proper group and permissions.
360 +
361 +*eselect-1.1_rc2 (19 May 2009)
362 +
363 + 19 May 2009; Ulrich Mueller <ulm@g.o> -eselect-1.1_rc1.ebuild,
364 + +eselect-1.1_rc2.ebuild:
365 + Version bump, fixes bug 270406. Remove previous release candidate.
366 +
367 +*eselect-1.1_rc1 (18 May 2009)
368 +
369 + 18 May 2009; Ulrich Mueller <ulm@g.o> +eselect-1.1_rc1.ebuild:
370 + Version bump; fixes bugs 155814 and 156866; enhancements from bugs 148578,
371 + 153890, 180966, 190216, and 220473.
372 +
373 + 18 May 2009; Christian Faulhammer <fauli@g.o>
374 + eselect-1.0.12.ebuild:
375 + stable x86, bug 270138
376 +
377 + 18 May 2009; Jeroen Roovers <jer@g.o> eselect-1.0.12.ebuild:
378 + Stable for HPPA (bug #270138).
379 +
380 + 17 May 2009; Tobias Klausmann <klausman@g.o> eselect-1.0.12.ebuild:
381 + Stable on alpha, bug #270138
382 +
383 + 28 Apr 2009; Ulrich Mueller <ulm@g.o> metadata.xml, eselect-9999:
384 + Add paludis USE flag for the live ebuild.
385 +
386 +*eselect-9999 (18 Apr 2009)
387 +*eselect-1.0.12 (18 Apr 2009)
388 +
389 + 18 Apr 2009; Ulrich Mueller <ulm@g.o> +eselect-1.0.12.ebuild,
390 + +eselect-9999.ebuild:
391 + Version bump to 1.0.12; fixes bugs 172636, 198461, 203114, 204937, 218557,
392 + 219864, 232874, 240402, 248470, 248487, 260464, and 264734. Add live ebuild
393 + for SVN trunk. Remove dependencies on editor modes, since only few users of
394 + eselect will edit its source.
395 +
396 + 17 Apr 2009; Ulrich Mueller <ulm@g.o> eselect-1.0.11-r1.ebuild,
397 + eselect-1.0.11-r2.ebuild:
398 + Clarify the elog message in pkg_postinst, bug 187263. Remove the dependency
399 + on procps (added at 14 April) again, since it leads to problems on FreeBSD;
400 + bug 266540. In fact, a working "pgrep" command is not essential, since it is
401 + only called from the "die" function. See bug 264734 for details.
402 +
403 + 15 Apr 2009; Ulrich Mueller <ulm@g.o>
404 + -files/eselect-1.0.8-fix-parallel-install.patch:
405 + Remove stale file.
406 +
407 + 14 Apr 2009; Ulrich Mueller <ulm@g.o> eselect-1.0.11-r2.ebuild:
408 + Add procps to RDEPEND, fixes bug 174354.
409 +
410 + 08 Apr 2009; Jeremy Olexa <darkside@g.o>
411 + +files/eselect-1.0.11-relative-profiles.patch, eselect-1.0.11-r2.ebuild:
412 + Make 'eselect profile show' show the relative path. Patch by Thomas Bellman
413 + in bug 248487
414 +
415 +*eselect-1.0.11-r2 (08 Apr 2009)
416 +
417 + 08 Apr 2009; Jeremy Olexa <darkside@g.o>
418 + +files/eselect-1.0.11-parent-profiles.patch, -eselect-1.0.2.ebuild,
419 + -eselect-1.0.7.ebuild, -eselect-1.0.8.ebuild, -eselect-1.0.9.ebuild,
420 + -eselect-1.0.11.ebuild, +eselect-1.0.11-r2.ebuild:
421 + Version bump to fix bug 248470, patch by Thomas Bellman. Allows parent
422 + profiles to be selectable. Also, remove old versions
423 +
424 + 08 Apr 2009; Jeremy Olexa <darkside@g.o> eselect-1.0.11-r1.ebuild:
425 + fix postinst message to include instructions for enabling globally, bug 265168
426 +
427 + 17 Mar 2009; Raúl Porcel <armin76@g.o> eselect-1.0.11-r1.ebuild:
428 + m68k stable wrt #208898, thanks to kolla for testing
429 +
430 + 29 Dec 2008; Raúl Porcel <armin76@g.o> eselect-1.0.11-r1.ebuild:
431 + s390/sh stable wrt #208898
432 +
433 + 16 Dec 2008; Doug Goldstein <cardoe@g.o> eselect-1.0.11-r1.ebuild:
434 + amd64 stable
435 +
436 + 10 Dec 2008; Jeroen Roovers <jer@g.o> eselect-1.0.11-r1.ebuild:
437 + Stable for HPPA (bug #208898).
438 +
439 + 09 Dec 2008; Brent Baude <ranger@g.o> eselect-1.0.11-r1.ebuild:
440 + Marking eselect-1.0.11-r1 ppc64 and ppc for bug 208898
441 +
442 + 08 Dec 2008; Raúl Porcel <armin76@g.o> eselect-1.0.11-r1.ebuild:
443 + alpha/arm/ia64/sparc/x86 stable wrt #208898
444 +
445 + 25 May 2008; Markus Rothe <corsair@g.o> eselect-1.0.11-r1.ebuild:
446 + Stable on ppc64
447 +
448 +*eselect-1.0.11-r1 (20 Mar 2008)
449 +
450 + 20 Mar 2008; Piotr Jaroszyński <peper@g.o>
451 + +files/eselect-1.0.11-fix-paludis-command.patch,
452 + +eselect-1.0.11-r1.ebuild:
453 + Add -r1 with a patch fixing paludis_command().
454 +
455 +*eselect-1.0.11 (01 Dec 2007)
456 +
457 + 01 Dec 2007; Piotr Jaroszyński <peper@g.o> +eselect-1.0.11.ebuild:
458 + Add 1.0.11.
459 +
460 + 05 Aug 2007; nixnut <nixnut@g.o> eselect-1.0.10.ebuild:
461 + Stable on ppc wrt bug 185691
462 +
463 + 01 Aug 2007; Joshua Kinard <kumba@g.o> eselect-1.0.10.ebuild:
464 + Stable on mips, per #185691.
465 +
466 + 01 Aug 2007; <metalgod@g.o> eselect-1.0.10.ebuild:
467 + Stable on amd64. See bug #185691.
468 +
469 + 30 Jul 2007; Raúl Porcel <armin76@g.o> eselect-1.0.10.ebuild:
470 + alpha/ia64 stable wrt #185691
471 +
472 + 30 Jul 2007; Jeroen Roovers <jer@g.o> eselect-1.0.10.ebuild:
473 + Stable for HPPA (bug #185691).
474 +
475 + 30 Jul 2007; Gustavo Zacarias <gustavoz@g.o> eselect-1.0.10.ebuild:
476 + Stable on sparc wrt #185691
477 +
478 + 30 Jul 2007; Markus Rothe <corsair@g.o> eselect-1.0.10.ebuild:
479 + Stable on ppc64; bug #185691
480 +
481 + 30 Jul 2007; Christian Faulhammer <opfer@g.o>
482 + eselect-1.0.10.ebuild:
483 + stable x86, bug 185691
484 +
485 +*eselect-1.0.10 (17 Jun 2007)
486 +
487 + 17 Jun 2007; Danny van Dyk <kugelfang@g.o> +eselect-1.0.10.ebuild:
488 + Released 1.0.10 that fixes bugs #172472 and #172475. Thanks to Ulrich
489 + Mueller <ulm@g.o>.
490 +
491 + 06 May 2007; Mike Kelly <pioto@g.o> eselect-1.0.9.ebuild:
492 + Add vim-syntax USE flag to pull in eselect-syntax.
493 +
494 +*eselect-1.0.9 (28 Mar 2007)
495 +
496 + 28 Mar 2007; <pioto@g.o> +eselect-1.0.9.ebuild:
497 + Version bump. Fixes parallel install, improper use of DISTDIR, and some
498 + issues with env.eselect.
499 +
500 + 07 Feb 2007; Simon Stelling <blubb@g.o> eselect-1.0.7.ebuild:
501 + stable on amd64; bug 160535
502 +
503 + 26 Jan 2007; Bryan Østergaard <kloeri@g.o> eselect-1.0.7.ebuild:
504 + Stable on Alpha.
505 +
506 + 25 Jan 2007; Alexander H. Færøy <eroyf@g.o> eselect-1.0.7.ebuild:
507 + Stable on MIPS.
508 +
509 + 24 Jan 2007; Marius Mauch <genone@g.o> eselect-1.0.2.ebuild,
510 + eselect-1.0.7.ebuild, eselect-1.0.8.ebuild:
511 + Replacing einfo with elog
512 +
513 + 16 Jan 2007; Jeroen Roovers <jer@g.o> eselect-1.0.7.ebuild:
514 + Stable for HPPA (bug #160535).
515 +
516 + 15 Jan 2007; Mike Kelly <pioto@g.o>
517 + +files/eselect-1.0.8-fix-parallel-install.patch, eselect-1.0.8.ebuild:
518 + Add a patch to really really fix Bug #162008.
519 +
520 + 14 Jan 2007; Danny van Dyk <kugelfang@g.o> eselect-1.0.7.ebuild:
521 + Marked stable on amd64.
522 +
523 +*eselect-1.0.8 (14 Jan 2007)
524 +
525 + 14 Jan 2007; Mike Kelly <pioto@g.o> +eselect-1.0.8.ebuild:
526 + Version bump. Really fixes Bug #162008.
527 +
528 + 14 Jan 2007; Mike Kelly <pioto@g.o> eselect-1.0.7.ebuild:
529 + Force non-parallel install for now until all the Makefile issues can be fixed.
530 +
531 + 14 Jan 2007; Joseph Jezak <josejx@g.o> eselect-1.0.7.ebuild:
532 + Marked ppc stable for bug #160535.
533 +
534 + 09 Jan 2007; Christian Faulhammer <opfer@g.o> eselect-1.0.7.ebuild:
535 + stable x86, bug #160535
536 +
537 + 09 Jan 2007; Markus Rothe <corsair@g.o> eselect-1.0.7.ebuild:
538 + Stable on ppc64; bug #160535
539 +
540 + 08 Jan 2007; Gustavo Zacarias <gustavoz@g.o> eselect-1.0.7.ebuild:
541 + Stable on sparc wrt #160535
542 +
543 + 07 Jan 2007; Mike Kelly <pioto@g.o> eselect-1.0.7.ebuild:
544 + Mark ~amd64 again, since we need to stable a few other things first. See Bug
545 + #160535.
546 +
547 + 06 Jan 2007; Mike Kelly <pioto@g.o> eselect-1.0.7.ebuild:
548 + Mark stable on amd64 (okayed by Kugelfang).
549 +
550 + 06 Jan 2007; Mike Kelly <pioto@g.o> -eselect-1.0.6.ebuild:
551 + Remove old and kinda buggy 1.0.6 version.
552 +
553 + 09 Nov 2006; Marien Zwart <marienz@g.o> Manifest:
554 + Fix Manifest.
555 +
556 + 09 Nov 2006; Marien Zwart <marienz@g.o> +eselect-1.0.6.ebuild:
557 + Put 1.0.6 back to avoid a downgrade while 1.0.7 is masked.
558 +
559 +*eselect-1.0.7 (08 Nov 2006)
560 +
561 + 08 Nov 2006; Danny van Dyk <kugelfang@g.o> -eselect-1.0.ebuild,
562 + -eselect-1.0.6.ebuild, +eselect-1.0.7.ebuild:
563 + Removed obsolete version 1.0. Bumped eselect to version 1.0.7, which is a
564 + bugfix release.
565 +
566 + 18 Oct 2006; Roy Marples <uberlord@g.o> eselect-1.0.6.ebuild:
567 + Added ~sparc-fbsd keyword.
568 +
569 +*eselect-1.0.6 (03 Oct 2006)
570 +
571 + 03 Oct 2006; Danny van Dyk <kugelfang@g.o> -eselect-1.0.5.ebuild,
572 + +eselect-1.0.6.ebuild:
573 + Removed version 1.0.5. Added version 1.0.6.
574 +
575 + 04 Sep 2006; Joshua Kinard <kumba@g.o> eselect-1.0.2.ebuild:
576 + Marked stable on mips.
577 +
578 +*eselect-1.0.5 (26 Aug 2006)
579 +
580 + 26 Aug 2006; Danny van Dyk <kugelfang@g.o> -eselect-1.0.4.ebuild,
581 + +eselect-1.0.5.ebuild:
582 + Removed version 1.0.4. Added version 1.0.5.
583 +
584 + 19 Aug 2006; Bryan Østergaard <kloeri@g.o> eselect-1.0.2.ebuild:
585 + Stable on alpha.
586 +
587 + 16 Aug 2006; Markus Rothe <corsair@g.o> eselect-1.0.2.ebuild:
588 + Stable on ppc64
589 +
590 +*eselect-1.0.4 (02 Aug 2006)
591 +
592 + 02 Aug 2006; Danny van Dyk <kugelfang@g.o> -eselect-1.0.3.ebuild,
593 + +eselect-1.0.4.ebuild:
594 + Removed release 1.0.3. Added release 1.0.4.
595 +
596 + 02 Aug 2006; Gustavo Zacarias <gustavoz@g.o> eselect-1.0.2.ebuild:
597 + Stable on hppa
598 +
599 + 29 Jul 2006; Fabian Groffen <grobian@g.o> eselect-1.0.2.ebuild:
600 + Marked ~ppc-macos
601 +
602 + 15 Jul 2006; Joshua Jackson <tsunam@g.o> eselect-1.0.2.ebuild:
603 + Stable x86; openoffice security bug
604 +
605 + 15 Jul 2006; Luis Medinas <metalgod@g.o> eselect-1.0.2.ebuild:
606 + Stable on amd64.
607 +
608 + 12 Jul 2006; Aron Griffis <agriffis@g.o> eselect-1.0.2.ebuild:
609 + Mark 1.0.2 stable on ia64
610 +
611 + 12 Jul 2006; Gustavo Zacarias <gustavoz@g.o> eselect-1.0.2.ebuild:
612 + Stable on sparc
613 +
614 + 06 Jul 2006; Danny van Dyk <kugelfang@g.o> eselect-1.0.ebuild,
615 + eselect-1.0.2.ebuild, eselect-1.0.3.ebuild:
616 + Added ChangeLog to the list of to-be-installed documents.
617 +
618 + 05 Jul 2006; Lars Weiler <pylon@g.o> eselect-1.0.2.ebuild:
619 + Stable on ppc; dependency for bug #139249.
620 +
621 + 03 Jul 2006; <malc@g.o> files/digest-eselect-1.0,
622 + files/digest-eselect-1.0.2, Manifest:
623 + Fix broken digests - as reported in #gentoo-amd64
624 +
625 +*eselect-1.0.3 (03 Jul 2006)
626 +
627 + 06 Jun 2006; Stephen Bennett <spb@g.o> eselect-1.0.ebuild:
628 + Mips stable for bug #125630
629 +
630 + 19 Apr 2006; Diego Pettenò <flameeyes@g.o> eselect-1.0.2.ebuild:
631 + Add dependency over freebsd-bin as alternative to realpath, it does already
632 + provide a realpath binary that works.
633 +
634 +*eselect-1.0.2 (14 Apr 2006)
635 +
636 + 14 Apr 2006; Danny van Dyk <kugelfang@g.o> -eselect-1.0.1.ebuild,
637 + +eselect-1.0.2.ebuild:
638 + Added bugfix release 1.0.2. Removed 1.0.1 due to a slightly broken env.eselect.
639 +
640 +*eselect-1.0.1 (02 Apr 2006)
641 +
642 + 02 Apr 2006; Danny van Dyk <kugelfang@g.o> -eselect-0.9.6.ebuild,
643 + -eselect-1.0_rc1.ebuild, -eselect-1.0_rc2.ebuild, eselect-1.0.ebuild,
644 + +eselect-1.0.1.ebuild:
645 + Removed obsolete versions. Updated RDEPEND with sys-apps/file. Added 1.0.1
646 + release.
647 +
648 + 30 Mar 2006; Diego Pettenò <flameeyes@g.o> eselect-1.0.ebuild:
649 + Add ~x86-fbsd keyword, although the env module doesn't work, as other
650 + modules are needed for other packages; most of this version works fine.
651 +
652 + 12 Mar 2006; Jason Wever <weeve@g.o> eselect-1.0.ebuild:
653 + Stable on SPARC wrt bug #125630.
654 +
655 + 10 Mar 2006; Fernando J. Pereda <ferdy@g.o> eselect-1.0.ebuild:
656 + Stable on alpha wrt bug #125630
657 +
658 + 10 Mar 2006; Markus Rothe <corsair@g.o> eselect-1.0.ebuild:
659 + Stable on ppc64; bug #125630
660 +
661 + 10 Mar 2006; Lars Weiler <pylon@g.o> eselect-1.0.ebuild:
662 + Stable on ppc wrt bug #125630.
663 +
664 + 10 Mar 2006; Michele Noberasco <s4t4n@g.o> eselect-1.0.ebuild:
665 + Stable for x86. See bug #125630.
666 +
667 + 09 Mar 2006; Aron Griffis <agriffis@g.o> eselect-1.0.ebuild:
668 + Mark 1.0 stable on ia64
669 +
670 + 09 Mar 2006; Jeroen Roovers <jer@g.o> eselect-1.0.ebuild:
671 + Stable on hppa (bug #125630).
672 +
673 + 09 Mar 2006; Danny van Dyk <kugelfang@g.o> eselect-1.0.ebuild:
674 + Marked stable on amd64.
675 +
676 +*eselect-1.0 (09 Feb 2006)
677 +
678 + 09 Feb 2006; Ciaran McCreesh <ciaranm@g.o> +eselect-1.0.ebuild:
679 + New release.
680 +
681 + 19 Nov 2005; Markus Rothe <corsair@g.o> eselect-0.9.6.ebuild,
682 + eselect-1.0_rc1.ebuild, eselect-1.0_rc2.ebuild:
683 + Added ~ppc64; bug #102649
684 +
685 +*eselect-1.0_rc2 (16 Nov 2005)
686 +
687 + 16 Nov 2005; Danny van Dyk <kugelfang@g.o> +eselect-1.0_rc2.ebuild:
688 + Second release candidate for eselect-1.0. Fixes some bugs in BLAS and LAPACK
689 + support. Adds support for MKL72.
690 +
691 +*eselect-1.0_rc1 (19 Oct 2005)
692 +
693 + 19 Oct 2005; Aaron Walker <ka0ttic@g.o> +eselect-1.0_rc1.ebuild:
694 + First release candidate for 1.0. Please test; the more testers we get, the
695 + faster we'll get a stable eselect. This release fixes bugs #101898,#104354,
696 + and #106540 as well as a sleu of others (see NEWS for a full list).
697 +
698 + 19 Sep 2005; Aaron Walker <ka0ttic@g.o> -eselect-0.9.5.ebuild:
699 + 0.9.5 has a broken digest; not worth keeping around, so removing it.
700 +
701 + 01 Aug 2005; Aaron Walker <ka0ttic@g.o> eselect-0.9.5.ebuild,
702 + eselect-0.9.6.ebuild:
703 + Since I'm an idiot, use newins rather than doins for installing the bashcomp.
704 +
705 + 31 Jul 2005; Aaron Walker <ka0ttic@g.o> eselect-0.9.5.ebuild,
706 + eselect-0.9.6.ebuild:
707 + Added ~hppa; updated ebuilds to not use bash-completion.eclass; also added
708 + missing NEWS/AUTHORS to the list of dodoc'd files.
709 +
710 +*eselect-0.9.6 (25 Jul 2005)
711 +
712 + 25 Jul 2005; Danny van Dyk <kugelfang@g.o> +eselect-0.9.6.ebuild:
713 + Version bump.
714 +
715 +*eselect-0.9.5 (18 Jun 2005)
716 +
717 + 18 Jun 2005; Aaron Walker <ka0ttic@g.o> -eselect-0.9.4.ebuild,
718 + +eselect-0.9.5.ebuild:
719 + Version bump.
720 +
721 +*eselect-0.9.4 (13 Jun 2005)
722 +
723 + 13 Jun 2005; Aaron Walker <ka0ttic@g.o> +metadata.xml,
724 + +eselect-0.9.4.ebuild:
725 + Version bump; moved from app-admin/eclectic to app-admin/eselect.
726 +
727 + 04 Jun 2005; Stephen Bennett <spb@g.o> eclectic-0.9.3.ebuild:
728 + ~mips keywords
729 +
730 + 17 May 2005; Ciaran McCreesh <ciaranm@g.o> eclectic-0.9.2.ebuild,
731 + eclectic-0.9.3.ebuild:
732 + Update homepage now that there's a proper website
733 +
734 + 16 May 2005; Ciaran McCreesh <ciaranm@g.o> eclectic-0.9.3.ebuild:
735 + Up the bash dependency to version 3. This is temporary and just for this
736 + release.
737 +
738 +*eclectic-0.9.3 (16 May 2005)
739 +
740 + 16 May 2005; Ciaran McCreesh <ciaranm@g.o> +eclectic-0.9.3.ebuild:
741 + Version bump
742 +
743 + 15 May 2005; Fernando J. Pereda <ferdy@g.o> eclectic-0.9.2.ebuild:
744 + keyworded ~alpha
745 +
746 + 15 May 2005; Ciaran McCreesh <ciaranm@g.o> metadata.xml,
747 + eclectic-0.9.2.ebuild:
748 + Added ~sparc, update metadata
749 +
750 + 12 May 2005; Danny van Dyk <kugelfang@g.o> eclectic-0.9.2.ebuild:
751 + Marked ~amd64.
752 +
753 + 12 May 2005; Aaron Walker <ka0ttic@g.o> eclectic-0.9.2.ebuild:
754 + Fix dohtml glob; default.css wasn't getting installed.
755 +
756 + 11 May 2005; Lars Weiler <pylon@g.o> eclectic-0.9.2.ebuild:
757 + Added ~ppc.
758 +
759 +*eclectic-0.9.2 (08 May 2005)
760 +
761 + 08 May 2005; Aaron Walker <ka0ttic@g.o> -eclectic-0.9.1.ebuild,
762 + +eclectic-0.9.2.ebuild:
763 + Version bump.
764 +
765 +*eclectic-0.9.1 (08 May 2005)
766 +
767 + 08 May 2005; Aaron Walker <ka0ttic@g.o> +metadata.xml,
768 + +eclectic-0.9.1.ebuild:
769 + Initial commit.
770 +
771
772 diff --git a/app-admin/eselect/Manifest b/app-admin/eselect/Manifest
773 new file mode 100644
774 index 0000000..86bc8db
775 --- /dev/null
776 +++ b/app-admin/eselect/Manifest
777 @@ -0,0 +1,5 @@
778 +AUX eselect-alternatives.patch 22292 RMD160 06a6fca48011e4168748917003329a64517b2426 SHA1 3d2d3c9f97bc2d72df00422680ad36f73fec1e03 SHA256 e88f93531adb3117e3bc7be0afac34e0816dfe1dd47e1f3ae7190dfe32904420
779 +DIST eselect-1.2.14.tar.bz2 169064 RMD160 7e11d255c425abb4e7eb604c0cd225c4e93f523d SHA1 a9d812d71c45a9a38aaa739775bfee0c461ce92e SHA256 d7120bc268b716a4f6933131ea4ebd7ed99714ef4a07eb4e3ad0f5e1d366e878
780 +EBUILD eselect-1.2.14-r1.ebuild 1791 RMD160 ab4ab6b322b6d23194d0f2403037e95bc508c7cb SHA1 10de5cbd7a3907d265a5398378ce9b9983658093 SHA256 c38b6be16d27f8d00be1806d846cca14fb06abbce3c487e854156ea1aa359bc3
781 +MISC ChangeLog 25535 RMD160 6903ff7c5a1d6fa0b3e34eebf480846aad03bcc1 SHA1 fd66eacd2ca6d7c6d8b31ed72741b7e244a937da SHA256 786f1d2354d990742c388ee22cd57c21a4d1dbea6f6d4f663aea3b935b485e4b
782 +MISC metadata.xml 223 RMD160 ad3a63ca53ae3d53a6be0caea0f00d5339415496 SHA1 c5430898aa8d251b7469d16f66dbd02018581bb9 SHA256 9bfa4e7551e380482c16cb288fa4f711543e15f6c00aabd2bb38fdbcbbc6dd26
783
784 diff --git a/app-admin/eselect/eselect-1.2.14-r1.ebuild b/app-admin/eselect/eselect-1.2.14-r1.ebuild
785 new file mode 100644
786 index 0000000..d8a2ea5
787 --- /dev/null
788 +++ b/app-admin/eselect/eselect-1.2.14-r1.ebuild
789 @@ -0,0 +1,64 @@
790 +# Copyright 1999-2010 Gentoo Foundation
791 +# Distributed under the terms of the GNU General Public License v2
792 +# $Header: $
793 +
794 +EAPI=3
795 +inherit eutils bash-completion autotools
796 +
797 +DESCRIPTION="Gentoo's multi-purpose configuration and management tool"
798 +HOMEPAGE="http://www.gentoo.org/proj/en/eselect/"
799 +SRC_URI="mirror://gentoo/${P}.tar.bz2"
800 +
801 +LICENSE="GPL-2"
802 +SLOT="0"
803 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
804 +IUSE="doc"
805 +
806 +RDEPEND="sys-apps/sed
807 + || (
808 + sys-apps/coreutils
809 + sys-freebsd/freebsd-bin
810 + app-misc/realpath
811 + )"
812 +DEPEND="${RDEPEND}
813 + doc? ( dev-python/docutils )"
814 +RDEPEND="!app-admin/eselect-news
815 + ${RDEPEND}
816 + sys-apps/file
817 + sys-libs/ncurses"
818 +
819 +# Commented out: only few users of eselect will edit its source
820 +#PDEPEND="emacs? ( app-emacs/gentoo-syntax )
821 +# vim-syntax? ( app-vim/eselect-syntax )"
822 +src_prepare() {
823 + epatch "${FILESDIR}"/${PN}-alternatives.patch
824 + eautoreconf
825 +}
826 +
827 +src_compile() {
828 + emake || die "emake failed"
829 +
830 + if use doc; then
831 + make html || die "failed to build html"
832 + fi
833 +}
834 +
835 +src_install() {
836 + emake DESTDIR="${D}" install || die "make install failed"
837 + dodoc AUTHORS ChangeLog NEWS README TODO doc/*.txt
838 + use doc && dohtml *.html doc/*
839 + dobashcompletion misc/${PN}.bashcomp
840 +
841 + # needed by news module
842 + keepdir /var/lib/gentoo/news
843 +}
844 +
845 +pkg_postinst() {
846 + # fowners in src_install doesn't work for the portage group:
847 + # merging changes the group back to root
848 + [[ -z ${EROOT} ]] && local EROOT=${ROOT}
849 + chgrp portage "${EROOT}/var/lib/gentoo/news" \
850 + && chmod g+w "${EROOT}/var/lib/gentoo/news"
851 +
852 + bash-completion_pkg_postinst
853 +}
854
855 diff --git a/app-admin/eselect/files/eselect-alternatives.patch b/app-admin/eselect/files/eselect-alternatives.patch
856 new file mode 100644
857 index 0000000..a00d7aa
858 --- /dev/null
859 +++ b/app-admin/eselect/files/eselect-alternatives.patch
860 @@ -0,0 +1,611 @@
861 +Index: libs/Makefile.am
862 +===================================================================
863 +--- libs/Makefile.am (revision 803)
864 ++++ libs/Makefile.am (working copy)
865 +@@ -1,6 +1,7 @@
866 + eselectlibsdir = $(datadir)/$(PACKAGE_NAME)/libs/
867 +
868 + eselectlibs_DATA = \
869 ++ alternatives.bash \
870 + config.bash \
871 + core.bash \
872 + default.eselect \
873 +@@ -14,6 +15,7 @@
874 + tests.bash
875 +
876 + EXTRA_DIST = \
877 ++ alternatives.bash.in \
878 + config.bash.in \
879 + core.bash.in \
880 + default.eselect.in \
881 +@@ -30,7 +32,8 @@
882 + -e 's,\@SED\@,@SED@,g' \
883 + -e 's,\@PORTAGEQ\@,@PORTAGEQ@,g' \
884 + -e 's,\@ENV_UPDATE\@,@ENV_UPDATE@,g' \
885 +- -e 's,\@CANONICALISE\@,@CANONICALISE@,g'
886 ++ -e 's,\@CANONICALISE\@,@CANONICALISE@,g' \
887 ++ -e 's,\@sysconfdir\@,@sysconfdir@,g'
888 +
889 + %.bash : %.bash.in
890 + @$(dosed) $< > $@
891 +Index: configure.ac
892 +===================================================================
893 +--- configure.ac (revision 803)
894 ++++ configure.ac (working copy)
895 +@@ -1,4 +1,4 @@
896 +-AC_INIT(eselect, 1.2.14, eselect@g.o, eselect)
897 ++AC_INIT(eselect, 1.2.90, eselect@g.o, eselect)
898 + AC_PREREQ(2.59)
899 + AC_CONFIG_SRCDIR(bin/eselect.in)
900 + AC_CONFIG_AUX_DIR(config)
901 +Index: bin/Makefile.am
902 +===================================================================
903 +--- bin/Makefile.am (revision 803)
904 ++++ bin/Makefile.am (working copy)
905 +@@ -4,6 +4,7 @@
906 + dosed = @SED@ -e 's,\@BASH\@,$(BASH),g' \
907 + -e 's,\@DATADIR\@,$(datadir),g' \
908 + -e 's,\@EPREFIX\@,$(EPREFIX),g' \
909 ++ -e 's,\@LIBEXECDIR\@,$(datadir),g' \
910 + -e 's,\@VERSION\@,$(VERSION),g'
911 +
912 + % : %.in
913 +Index: bin/eselect.in
914 +===================================================================
915 +--- bin/eselect.in (revision 803)
916 ++++ bin/eselect.in (working copy)
917 +@@ -22,10 +22,15 @@
918 + # Where are modules installed by default?
919 + ESELECT_DEFAULT_MODULES_PATH="${ESELECT_DATA_PATH}/modules"
920 +
921 ++# Where are auto-generated modules placed? (e.g. from alternatives-2.eclas)
922 ++ESELECT_AUTO_GENERATED_MODULES_PATH="${ESELECT_DEFAULT_MODULES_PATH}/auto"
923 ++
924 + # Look in these places for modules
925 +-ESELECT_MODULES_PATH=( \
926 +- "${HOME}/.eselect/modules" \
927 +- "${ESELECT_DEFAULT_MODULES_PATH}" )
928 ++ESELECT_MODULES_PATH=(
929 ++ "${HOME}/.eselect/modules"
930 ++ "${ESELECT_DEFAULT_MODULES_PATH}"
931 ++ "${ESELECT_AUTO_GENERATED_MODULES_PATH}"
932 ++)
933 +
934 + # Look in this place for libraries
935 + ESELECT_CORE_PATH="${ESELECT_DATA_PATH}/libs"
936 +--- libs/alternatives.bash.in.orig 1970-01-01 01:00:00.000000000 +0100
937 ++++ libs/alternatives.bash.in 2010-12-15 19:37:54.000000000 +0000
938 +@@ -0,0 +1,533 @@
939 ++# Copyright 2008 Mike Kelly
940 ++# Copyright 2009 David Leverton
941 ++# Copyright 2010 Bo Ørsted Andresen
942 ++# 2010: Adapted to eselect Sebastien Fabbro (who doesn't like copyrights)
943 ++# Distributed under the terms of the GNU General Public License v2
944 ++
945 ++inherit config output path-manipulation
946 ++
947 ++ALTERNATIVESDIR_ROOTLESS="@sysconfdir@/env.d/alternatives"
948 ++ALTERNATIVESDIR="${EROOT}${ALTERNATIVESDIR_ROOTLESS}"
949 ++
950 ++get_current_provider() {
951 ++ local dieprefix="Could not determine current provider for ${ALTERNATIVE}"
952 ++ if [[ -L ${ALTERNATIVESDIR}/${ALTERNATIVE}/_current ]]; then
953 ++ local provider=$(readlink "${ALTERNATIVESDIR}/${ALTERNATIVE}/_current" || die "${dieprefix}: readlink ${symlink} failed")
954 ++ [[ ${provider} == */* ]] && die "${dieprefix}: malformed target for ${symlink}"
955 ++
956 ++ if [[ -L ${ALTERNATIVESDIR}/${ALTERNATIVE}/${provider} ||
957 ++ ( -e ${ALTERNATIVESDIR}/${ALTERNATIVE}/${provider} && ! -d ${ALTERNATIVESDIR}/${ALTERNATIVE}/${provider} ) ]]; then
958 ++ die "${dieprefix}: ${ALTERNATIVESDIR}/${ALTERNATIVE}/${provider} is not a directory"
959 ++ fi
960 ++
961 ++ echo "${provider}"
962 ++
963 ++ elif [[ -e ${ALTERNATIVESDIR}/${ALTERNATIVE}/_current ]]; then
964 ++ die "${dieprefix}: ${ALTERNATIVESDIR}/${ALTERNATIVE}/_current is not a symlink"
965 ++ fi
966 ++}
967 ++
968 ++compare_importance() {
969 ++ local IFS=.
970 ++ local a=( ${1} ) b=( ${2} )
971 ++ local -i i=0
972 ++ while (( i<${#a[@]} && i<${#b[@]} )); do
973 ++ if (( a[i]<b[i] )); then
974 ++ return 0
975 ++ elif (( a[i]>b[i] )); then
976 ++ return 1
977 ++ fi
978 ++ i+=1
979 ++ done
980 ++ (( i<${#b[@]} ))
981 ++}
982 ++
983 ++sort_providers() {
984 ++ local begin=${1:-0}
985 ++ local count=${2:-${#providers[@]}}
986 ++ [[ ${count} -le 1 ]] && return 0
987 ++ sort_providers ${begin} $((count/2))
988 ++ sort_providers $((begin+count/2)) $((count-count/2))
989 ++ local left=( "${providers[@]:begin:count/2}" )
990 ++ local right=( "${providers[@]:begin+count/2:count-count/2}" )
991 ++ local -i x i=0 j=0
992 ++ for (( x=begin; x<begin+count; ++x )); do
993 ++ if (( j>=${#right[@]} )) || { (( i<${#left[@]} )) && compare_importance "${left[i]%%:*}" "${right[j]%%:*}"; }; then
994 ++ providers[x]=${left[i++]}
995 ++ else
996 ++ providers[x]=${right[j++]}
997 ++ fi
998 ++ done
999 ++}
1000 ++
1001 ++get_providers() {
1002 ++ local p= importance providers=()
1003 ++ for p in "${ALTERNATIVESDIR}/${ALTERNATIVE}"/* ; do
1004 ++ [[ -d ${p} && ! -L ${p} ]] || continue
1005 ++ p=${p##*/}
1006 ++
1007 ++ importance=$(< "${ALTERNATIVESDIR}/${ALTERNATIVE}/${p}/_importance")
1008 ++ importance=${importance:-0}
1009 ++ [[ "${importance}" =~ ^[0123456789]+(\.[0123456789]+)*$ ]] || die "_importance (${importance}) for ${p} is not a dot-separated list of integers"
1010 ++
1011 ++ providers+=( "${importance}:${p}" )
1012 ++ done
1013 ++
1014 ++ sort_providers
1015 ++ for (( p=${#providers[@]}-1 ; p>=0 ; --p )); do
1016 ++ echo "${providers[p]#*:}"
1017 ++ done
1018 ++}
1019 ++
1020 ++### show action ###
1021 ++describe_show() {
1022 ++ echo "Show the current provider in use for ${ALTERNATIVE}"
1023 ++}
1024 ++
1025 ++do_show() {
1026 ++ [[ -z "${ALTERNATIVE}" ]] && die "Need to set ALTERNATIVE in the eselect module"
1027 ++ local current="$(get_current_provider)"
1028 ++ if [[ -z "${current}" ]] ; then
1029 ++ echo "(none)"
1030 ++ return 2
1031 ++ fi
1032 ++ echo "${current}"
1033 ++}
1034 ++
1035 ++options_show() {
1036 ++ :
1037 ++}
1038 ++
1039 ++### list action ###
1040 ++describe_list() {
1041 ++ echo "Lists all available providers for ${ALTERNATIVE}"
1042 ++}
1043 ++
1044 ++do_list() {
1045 ++ [[ -z "${ALTERNATIVE}" ]] && die "Need to set ALTERNATIVE in the eselect module"
1046 ++ local n cur= providers=( $(get_providers) )
1047 ++ write_list_start "Available providers for ${ALTERNATIVE}:"
1048 ++
1049 ++ cur="$(get_current_provider)"
1050 ++
1051 ++ if [[ -n "${providers[@]}" ]] ; then
1052 ++ for (( n = 0 ; n < ${#providers[@]} ; ++n )) ; do
1053 ++ [[ ${cur} == "${providers[${n}]}" ]] && \
1054 ++ providers[${n}]="${providers[${n}]} $(highlight '*')"
1055 ++ done
1056 ++ write_numbered_list "${providers[@]}"
1057 ++ else
1058 ++ write_kv_list_entry "(none found)" ""
1059 ++ fi
1060 ++}
1061 ++
1062 ++options_list() {
1063 ++ :
1064 ++}
1065 ++
1066 ++### files action ###
1067 ++describe_files() {
1068 ++ echo "Lists symlinks provided by the currently selected provider"
1069 ++}
1070 ++
1071 ++do_files() {
1072 ++ [[ -z "${ALTERNATIVE}" ]] && die "Need to set ALTERNATIVE in the eselect module"
1073 ++
1074 ++ local cur="$(get_current_provider)" p=
1075 ++ [[ -n "${cur}" ]] || die -q "No selected provider, hence no symlinks provided"
1076 ++ local dieprefix="Could not list symlinks provided for ${ALTERNATIVE}"
1077 ++
1078 ++ local errors symlink rootsymlink
1079 ++ while read -r -d '' symlink; do
1080 ++ rootsymlink="${EROOT}${symlink}"
1081 ++ rootsymlink=${rootsymlink//+(\/)/\/}
1082 ++ echo "${rootsymlink}"
1083 ++ if [[ -L ${rootsymlink} ]]; then
1084 ++ if [[ ! -e ${rootsymlink} ]]; then
1085 ++ write_error_msg "${rootsymlink} is dangling symlink"
1086 ++ errors=yes
1087 ++ fi
1088 ++ elif [[ -d ${rootsymlink} ]]; then
1089 ++ write_error_msg "${rootsymlink} is a directory"
1090 ++ errors=yes
1091 ++ elif [[ -e ${rootsymlink} ]]; then
1092 ++ write_error_msg "${rootsymlink} exists but is not a symlink"
1093 ++ errors=yes
1094 ++ else
1095 ++ write_error_msg "${rootsymlink} does not exist"
1096 ++ errors=yes
1097 ++ fi
1098 ++ done <"${ALTERNATIVESDIR}/${ALTERNATIVE}/_current_list"
1099 ++}
1100 ++
1101 ++options_files() {
1102 ++ :
1103 ++}
1104 ++
1105 ++### set action ###
1106 ++
1107 ++describe_set() {
1108 ++ echo "Sets a provider for ${ALTERNATIVE}"
1109 ++}
1110 ++
1111 ++describe_set_parameters() {
1112 ++ echo "[ --force ] <provider>"
1113 ++}
1114 ++
1115 ++describe_set_options() {
1116 ++ echo "--force : overwrite or remove existing non-symlink files (but not directories) if necessary"
1117 ++ echo "<provider> : the name of the provider to use"
1118 ++}
1119 ++
1120 ++do_set() {
1121 ++ [[ -z "${ALTERNATIVE}" ]] && die "Need to set ALTERNATIVE in the eselect module"
1122 ++
1123 ++ local force=
1124 ++ if [[ ${1} == --force ]]; then
1125 ++ force=yes
1126 ++ shift
1127 ++ fi
1128 ++
1129 ++ local provider="${1}"
1130 ++ [[ -z "${provider}" ]] && die -q "Missing required parameter 'provider'"
1131 ++ if is_number "${provider}" ; then
1132 ++ local providers=( $(get_providers) )
1133 ++ (( ${provider} <= ${#providers[@]} )) || die -q "The given provider (${provider}) does not exist"
1134 ++ provider=${providers[${provider}-1]}
1135 ++ fi
1136 ++ local dieprefix="Could not set provider ${provider} for alternative ${ALTERNATIVE}"
1137 ++
1138 ++ [[ -d ${ALTERNATIVESDIR}/${ALTERNATIVE}/${provider} ]] \
1139 ++ || die -q "The given provider (${provider}) does not exist"
1140 ++
1141 ++ local symlink newsymlinks=() oldsymlinks=()
1142 ++
1143 ++ while read -r -d '' symlink; do
1144 ++ local nicesymlink=${symlink#.}
1145 ++ nicesymlink=${nicesymlink//+(\/)/\/}
1146 ++ [[ ${nicesymlink} == /* ]] || die "${dieprefix}: bad symlink ${symlink}?"
1147 ++ [[ ${nicesymlink} == */ ]] && die "${dieprefix}: bad symlink ${symlink}?"
1148 ++
1149 ++ newsymlinks+=( "${nicesymlink}" )
1150 ++ done < <(
1151 ++ cd "${ALTERNATIVESDIR}/${ALTERNATIVE}/${provider}" || die "${dieprefix}: cd failed"
1152 ++ find . -type l -print0 | LC_ALL=C sort -r -u -z)
1153 ++ [[ ${#newsymlinks[@]} -gt 0 ]] || die "${dieprefix}: does not provide any symlinks?"
1154 ++
1155 ++ if [[ -f ${ALTERNATIVESDIR}/${ALTERNATIVE}/_current_list ]]; then
1156 ++ while read -r -d '' symlink; do
1157 ++ local nicesymlink=${symlink//+(\/)/\/}
1158 ++ [[ ${nicesymlink} == /* ]] || die "${dieprefix}: old provider ${oldcur} provides bad symlink ${symlink}?"
1159 ++ [[ ${nicesymlink} == */ ]] && die "${dieprefix}: old provider ${oldcur} provides bad symlink ${symlink}?"
1160 ++
1161 ++ oldsymlinks+=( "${nicesymlink}" )
1162 ++ done < <(LC_ALL=C sort -r -u -z "${ALTERNATIVESDIR}/${ALTERNATIVE}/_current_list")
1163 ++ [[ ${#oldsymlinks[@]} -gt 0 ]] || die "${dieprefix}: old provider ${oldcur} does not provide any symlinks?"
1164 ++
1165 ++ elif [[ -L ${ALTERNATIVESDIR}/${ALTERNATIVE}/_current_list || -e ${ALTERNATIVESDIR}/${ALTERNATIVE}/_current_list ]]; then
1166 ++ die "${dieprefix}: ${ALTERNATIVESDIR}/${ALTERNATIVE}/_current_list is not a file"
1167 ++ fi
1168 ++
1169 ++ local pass errors=
1170 ++ for pass in check perform; do
1171 ++ local -i new_i=0 old_i=0
1172 ++ while [[ -n ${newsymlinks[new_i]} || -n ${oldsymlinks[old_i]} ]]; do
1173 ++
1174 ++ if ( LC_ALL=C; [[ ${newsymlinks[new_i]} < ${oldsymlinks[old_i]} ]] ); then
1175 ++ if [[ ${pass} == check ]]; then
1176 ++ if [[ -L ${EROOT}${oldsymlinks[old_i]} ]]; then
1177 ++ :
1178 ++ elif [[ -d ${EROOT}${oldsymlinks[old_i]} ]]; then
1179 ++ write_error_msg "Can't remove ${EROOT}${oldsymlinks[old_i]}: is a directory${force:+ which is a fatal error that cannot be ignored by --force}"
1180 ++ errors=yes
1181 ++ elif [[ -e ${EROOT}${oldsymlinks[old_i]} ]]; then
1182 ++ if [[ -n ${force} ]]; then
1183 ++ write_warning_msg "Removing ${EROOT}${oldsymlinks[old_i]} due to --force: is not a symlink"
1184 ++ else
1185 ++ write_error_msg "Refusing to remove ${EROOT}${oldsymlinks[old_i]}: is not a symlink (use --force to override)"
1186 ++ errors=yes
1187 ++ fi
1188 ++ fi
1189 ++
1190 ++ elif [[ ${pass} == perform ]]; then
1191 ++ rm -f "${ROOT}${oldsymlinks[old_i]}" || die "${dieprefix}: rm failed"
1192 ++ else
1193 ++ die "${dieprefix}: unknown \${pass} ${pass}???"
1194 ++ fi
1195 ++
1196 ++ old_i+=1
1197 ++
1198 ++ else
1199 ++ local target=${ALTERNATIVESDIR_ROOTLESS#/}/${ALTERNATIVE}/_current${newsymlinks[new_i]} dir=${newsymlinks[new_i]%/*}
1200 ++ while [[ -n ${dir} ]]; do
1201 ++ target=../${target}
1202 ++ dir=${dir%/*}
1203 ++ done
1204 ++
1205 ++ if [[ ${pass} == check ]]; then
1206 ++ if [[ -L ${EROOT}${newsymlinks[new_i]} ]]; then
1207 ++ :
1208 ++ elif [[ -d ${EROOT}${newsymlinks[new_i]} ]]; then
1209 ++ write_error_msg "Can't overwrite ${EROOT}${newsymlinks[new_i]}: is a directory${force:+ which is a fatal error that cannot be ignored by --force}"
1210 ++ errors=yes
1211 ++ elif [[ -e ${EROOT}${newsymlinks[new_i]} ]]; then
1212 ++ if [[ -n ${force} ]]; then
1213 ++ write_warning_msg "Overwriting ${EROOT}${newsymlinks[new_i]} due to --force: is not a symlink"
1214 ++ else
1215 ++ write_error_msg "Refusing to overwrite ${EROOT}${newsymlinks[new_i]}: is not a symlink (use --force to override)"
1216 ++ errors=yes
1217 ++ fi
1218 ++ fi
1219 ++
1220 ++ elif [[ ${pass} == perform ]]; then
1221 ++ mkdir -p "${EROOT}${newsymlinks[new_i]%/*}" || die "${dieprefix}: mkdir -p failed"
1222 ++ ln -snf "${target#/}" "${EROOT}${newsymlinks[new_i]}" || die "${dieprefix}: ln -snf failed"
1223 ++ else
1224 ++ die "${dieprefix}: unknown \${pass} ${pass}???"
1225 ++ fi
1226 ++
1227 ++ [[ ${newsymlinks[new_i]} == ${oldsymlinks[old_i]} ]] && old_i+=1
1228 ++ new_i+=1
1229 ++ fi
1230 ++ done
1231 ++
1232 ++ [[ -n ${errors} ]] && die "${dieprefix}: see previous errors"
1233 ++ done
1234 ++
1235 ++ local oldcur="$(get_current_provider)"
1236 ++ ln -snf "${provider}" "${ALTERNATIVESDIR}/${ALTERNATIVE}/_current" || die "${dieprefix}: ln -snf failed"
1237 ++
1238 ++ : >"${ALTERNATIVESDIR}/${ALTERNATIVE}/_current_list" || die "${dieprefix}: emptying/creating _current_list failed"
1239 ++ for symlink in "${newsymlinks[@]}"; do
1240 ++ echo -n -e "${symlink}\\0" >>"${ALTERNATIVESDIR}/${ALTERNATIVE}/_current_list" || die "${dieprefix}: appending ${symlink} to _current_list failed"
1241 ++ done
1242 ++ return 0
1243 ++}
1244 ++
1245 ++_options_parameters() {
1246 ++ [[ -n ${2} && ${2} != --descriptions ]] && die -q "Unrecognised option ${2}"
1247 ++ local describe_func=describe_${1#options_}_options descriptions=${2} opt options oldifs=$IFS
1248 ++ if is_function ${describe_func}; then
1249 ++ IFS=$'\n'
1250 ++ options=( $(${describe_func}) )
1251 ++ IFS=$oldifs
1252 ++ for opt in "${options[@]}"; do
1253 ++ [[ ${opt} == --* ]] || continue
1254 ++ if [[ -n ${descriptions} ]]; then
1255 ++ echo "${opt/ : /:}"
1256 ++ else
1257 ++ echo "${opt%% : *}"
1258 ++ fi
1259 ++ done
1260 ++ fi
1261 ++}
1262 ++
1263 ++options_set() {
1264 ++ _options_parameters $FUNCNAME "$@"
1265 ++ get_providers
1266 ++}
1267 ++
1268 ++### update action ###
1269 ++
1270 ++describe_update() {
1271 ++ echo "Set a default provider if no valid one currently exists"
1272 ++}
1273 ++
1274 ++describe_update_parameters() {
1275 ++ echo "[--ignore] <provider>"
1276 ++}
1277 ++
1278 ++describe_update_options() {
1279 ++ echo "--ignore : update to any valid provider EXCEPT the specified provider"
1280 ++ echo "<provider> : the name of the provider to use"
1281 ++}
1282 ++
1283 ++do_update() {
1284 ++ [[ -z "${ALTERNATIVE}" ]] && die "Need to set ALTERNATIVE in the eselect module"
1285 ++
1286 ++ local p cur=$(get_current_provider) providers=( $(get_providers) ) ignore
1287 ++ if [[ "--ignore" == ${1} ]] ; then
1288 ++ # Try everything except setting the provider to the given
1289 ++ # one. So, if it isn't the given one, we end up doing
1290 ++ # nothing. Bug #128
1291 ++ shift
1292 ++ ignore=${1}
1293 ++ fi
1294 ++
1295 ++ if [[ ${cur} == ${1} && -z ${ignore} ]]; then
1296 ++ # if current provider was just updated, reselect it since it could have changed
1297 ++ do_set "${cur}" && return 0
1298 ++ elif [[ -n ${cur} && ${cur} != ${ignore} ]] ; then
1299 ++ # verify existing provider's symlinks
1300 ++ local p= bad=0
1301 ++ while read -r -d '' p ; do
1302 ++ [[ -L "${EROOT}${p}" && -e "${EROOT}${p}" ]] || (( bad++ ))
1303 ++ done < "${ALTERNATIVESDIR}/${ALTERNATIVE}/_current_list"
1304 ++
1305 ++ [[ "${bad}" -eq 0 ]] && return 0
1306 ++ # fix existing provider if possible
1307 ++ has "${cur}" "${providers[@]}" && do_set "${cur}" && return 0
1308 ++ elif has "${1}" "${providers[@]}" && [[ -z ${ignore} ]] ; then
1309 ++ # switch to new provider if none was set before or it can't be fixed
1310 ++ do_set "${1}" && return 0
1311 ++ fi
1312 ++
1313 ++ # if no valid provider has been selected switch to first available, valid
1314 ++ # provider, sorted according to importance
1315 ++ for p in "${providers[@]}"; do
1316 ++ [[ ${ignore} != ${p} ]] && do_set "${p}" && return 0
1317 ++ done
1318 ++
1319 ++ # if a provider is set but no providers are available anymore cleanup
1320 ++ cur=$(get_current_provider)
1321 ++ if [[ -n ${cur} ]]; then
1322 ++ do_unset "${cur}" && return 2
1323 ++ fi
1324 ++ # if no provider is set and none are available that are not ignored, return 2 for cleanup
1325 ++ [[ -z ${providers[@]} || ${providers[@]} == ${ignore} ]] && return 2
1326 ++
1327 ++ # we tried everything to select a valid provider, but failed
1328 ++ return 1
1329 ++}
1330 ++
1331 ++options_update() {
1332 ++ _options_parameters $FUNCNAME "$@"
1333 ++ get_providers
1334 ++}
1335 ++
1336 ++### unset action ###
1337 ++
1338 ++describe_unset() {
1339 ++ echo "Unset any symlinks created for the current provider for ${ALTERNATIVE}."
1340 ++}
1341 ++
1342 ++describe_unset_parameters() {
1343 ++ echo "[ --force ]"
1344 ++}
1345 ++
1346 ++describe_unset_options() {
1347 ++ echo "--force : remove existing non-symlink files (but not directories) if necessary"
1348 ++}
1349 ++
1350 ++do_unset() {
1351 ++ [[ -z "${ALTERNATIVE}" ]] && die "Need to set ALTERNATIVE in the eselect module"
1352 ++
1353 ++ local force=
1354 ++ if [[ ${1} == --force ]]; then
1355 ++ force=yes
1356 ++ shift
1357 ++ fi
1358 ++
1359 ++ local cur="$(get_current_provider)" p=
1360 ++ [[ -n "${cur}" ]] || die -q "Nothing to unset"
1361 ++ local dieprefix="Could not unset provider for ${ALTERNATIVE}"
1362 ++
1363 ++ local one=false symlink pass errors=
1364 ++ for pass in check perform; do
1365 ++ while read -r -d '' symlink; do
1366 ++ one=true
1367 ++ if [[ ${pass} == check ]]; then
1368 ++ if [[ -L ${EROOT}${symlink} ]]; then
1369 ++ :
1370 ++ elif [[ -d ${EROOT}${symlink} ]]; then
1371 ++ write_error_msg "Can't remove ${EROOT}${symlink}: is a directory${force:+ which is a fatal error that cannot be ignored by --force}"
1372 ++ errors=yes
1373 ++ elif [[ -e ${EROOT}${symlink} ]]; then
1374 ++ if [[ -n ${force} ]]; then
1375 ++ write_warning_msg "Removing ${EROOT}${symlink} due to --force: is not a symlink"
1376 ++ else
1377 ++ write_error_msg "Refusing to remove ${EROOT}${symlink}: is not a symlink (use --force to override)"
1378 ++ errors=yes
1379 ++ fi
1380 ++ fi
1381 ++
1382 ++ elif [[ ${pass} == perform ]]; then
1383 ++ rm -f "${EROOT}${symlink}" || die "${dieprefix}: rm failed"
1384 ++ else
1385 ++ die "${dieprefix}: unknown \${pass} ${pass}???"
1386 ++ fi
1387 ++ done <"${ALTERNATIVESDIR}/${ALTERNATIVE}/_current_list"
1388 ++
1389 ++ [[ -n ${errors} ]] && die "${dieprefix}: see previous errors"
1390 ++ done
1391 ++
1392 ++ ${one} || die "${dieprefix}: does not provide any symlinks?"
1393 ++
1394 ++ rm "${ALTERNATIVESDIR}/${ALTERNATIVE}"/{_current,_current_list} || die "${dieprefix}: rm failed"
1395 ++}
1396 ++
1397 ++options_unset() {
1398 ++ _options_parameters $FUNCNAME "$@"
1399 ++ get_current_provider
1400 ++}
1401 ++
1402 ++### script action ###
1403 ++
1404 ++describe_script() {
1405 ++ echo "Output an evalable script fragment to set PATH, LD_LIBRARY_PATH and MANPATH to use the specified provider"
1406 ++}
1407 ++
1408 ++describe_script_parameters() {
1409 ++ echo "[--sh | --csh] [<provider>]"
1410 ++}
1411 ++
1412 ++describe_script_options() {
1413 ++ echo "--sh : use Bourne shell syntax (default)"
1414 ++ echo "--csh : use C shell syntax"
1415 ++ echo "<provider> : the provider to use (if not specified, use the system default)"
1416 ++}
1417 ++
1418 ++do_script() {
1419 ++ [[ -z "${ALTERNATIVE}" ]] && die "Need to set ALTERNATIVE in the eselect module"
1420 ++ local syntax=sh
1421 ++ if [[ ${1} == --sh ]]; then
1422 ++ shift
1423 ++ elif [[ ${1} == --csh ]]; then
1424 ++ syntax=csh
1425 ++ shift
1426 ++ fi
1427 ++ local provider=${1}
1428 ++ [[ -z "${provider}" ]] && die -q "Missing required parameter 'provider'"
1429 ++ if is_number "${provider}" ; then
1430 ++ local providers=( $(get_providers) )
1431 ++ (( ${provider} <= ${#providers[@]} )) || die -q "The given provider (${provider}) does not exist"
1432 ++ provider=${providers[${provider}-1]}
1433 ++ fi
1434 ++ [[ -d ${ALTERNATIVESDIR}/${ALTERNATIVE}/${provider} ]] || die -q "The given provider (${provider}) does not exist"
1435 ++
1436 ++ local variables=( PATH LD_LIBRARY_PATH MANPATH )
1437 ++ [[ -n ${!default_*} ]] && local ${!default_*}
1438 ++ local default_LD_LIBRARY_PATH=$(grep '^[^#]' "${EROOT}"/etc/ld.so.conf | tr '\n' ':')/lib:/usr/lib
1439 ++ local default_MANPATH=$(MANPATH= man -C"${EROOT}"/etc/man.conf -w)
1440 ++
1441 ++ local var IFS=:
1442 ++ for var in "${variables[@]}"; do
1443 ++ local defvar=default_${var} path paths=( )
1444 ++ for path in ${!var}; do
1445 ++ [[ ${path} == ${ALTERNATIVESDIR_ROOTLESS}/${ALTERNATIVE}/* ]] && continue
1446 ++ [[ -n ${provider} && -d ${ALTERNATIVESDIR}/${ALTERNATIVE}/${provider}/${path#/} ]] && paths+=( "${ALTERNATIVESDIR_ROOTLESS}/${ALTERNATIVE}/${provider}/${path#/}" )
1447 ++ paths+=( "${path}" )
1448 ++ done
1449 ++
1450 ++ [[ -n ${provider} ]] && for path in ${!defvar}; do
1451 ++ [[ -d ${ALTERNATIVESDIR}/${ALTERNATIVE}/${provider}/${path#/} ]] && paths+=( "${ALTERNATIVESDIR_ROOTLESS}/${ALTERNATIVE}/${provider}/${path#/}" )
1452 ++ done
1453 ++
1454 ++ local newval=${paths[*]}
1455 ++ if [[ ${newval} != ${!var} ]]; then
1456 ++ newval=${newval//\'/\'\\\'\'}
1457 ++ if [[ ${syntax} == sh ]]; then
1458 ++ echo "${var}='${newval}'; export ${var}"
1459 ++ else
1460 ++ echo "setenv ${var} '${newval}'"
1461 ++ fi
1462 ++ fi
1463 ++ done
1464 ++}
1465 ++
1466 ++options_script() {
1467 ++ _options_parameters $FUNCNAME "$@"
1468 ++ get_providers
1469 ++}
1470 ++
1471 ++# vim: set ft=eselect sw=4 sts=4 ts=4 et tw=80 :
1472
1473 diff --git a/app-admin/eselect/metadata.xml b/app-admin/eselect/metadata.xml
1474 new file mode 100644
1475 index 0000000..dbaf8c8
1476 --- /dev/null
1477 +++ b/app-admin/eselect/metadata.xml
1478 @@ -0,0 +1,8 @@
1479 +<?xml version="1.0" encoding="UTF-8"?>
1480 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
1481 +<pkgmetadata>
1482 +<herd>no-herd</herd>
1483 +<maintainer>
1484 + <email>eselect@g.o</email>
1485 +</maintainer>
1486 +</pkgmetadata>
1487
1488 diff --git a/dev-lang/icc/icc-12.0.0.084.ebuild b/dev-lang/icc/icc-12.0.0.084.ebuild
1489 deleted file mode 100644
1490 index 0eb5088..0000000
1491 --- a/dev-lang/icc/icc-12.0.0.084.ebuild
1492 +++ /dev/null
1493 @@ -1,28 +0,0 @@
1494 -# Copyright 1999-2010 Gentoo Foundation
1495 -# Distributed under the terms of the GNU General Public License v2
1496 -# $Header: $
1497 -
1498 -INTEL_DPN=parallel_studio_xe
1499 -INTEL_DID=1951
1500 -INTEL_DPV=2011
1501 -INTEL_SUBDIR=composerxe
1502 -
1503 -inherit intel-sdp
1504 -
1505 -DESCRIPTION="Intel C/C++ Compiler"
1506 -HOMEPAGE="http://software.intel.com/en-us/articles/intel-composer-xe/"
1507 -
1508 -IUSE="eclipse"
1509 -DEPEND="~dev-libs/intel-common-${PV}[compiler]"
1510 -RDEPEND="${DEPEND}
1511 - eclipse? ( dev-util/eclipse-sdk )"
1512 -
1513 -QA_PREBUILT="
1514 - ${INTEL_SDP_DIR}/bin/*/*
1515 - ${INTEL_SDP_DIR}/compiler/lib/*/*
1516 - ${INTEL_SDP_DIR}/mpirt/bin/*/*
1517 - ${INTEL_SDP_DIR}/mpirt/lib/*/*"
1518 -QA_PRESTRIPPED="${INTEL_SDP_DIR}/compiler/lib/*/.*libFNP.so"
1519 -
1520 -INTEL_BIN_RPMS="compilerproc compilerproc-devel"
1521 -INTEL_DAT_RPMS="compilerproc-common"
1522
1523 diff --git a/dev-lang/idb/idb-12.0.0.084.ebuild b/dev-lang/idb/idb-12.0.2.137.ebuild
1524 similarity index 100%
1525 rename from dev-lang/idb/idb-12.0.0.084.ebuild
1526 rename to dev-lang/idb/idb-12.0.2.137.ebuild
1527
1528 diff --git a/dev-lang/ifc/ifc-12.0.0.084.ebuild b/dev-lang/ifc/ifc-12.0.2.137.ebuild
1529 similarity index 100%
1530 rename from dev-lang/ifc/ifc-12.0.0.084.ebuild
1531 rename to dev-lang/ifc/ifc-12.0.2.137.ebuild
1532
1533 diff --git a/dev-libs/intel-common/intel-common-12.0.0.084.ebuild b/dev-libs/intel-common/intel-common-12.0.0.084.ebuild
1534 deleted file mode 100644
1535 index 52bf423..0000000
1536 --- a/dev-libs/intel-common/intel-common-12.0.0.084.ebuild
1537 +++ /dev/null
1538 @@ -1,54 +0,0 @@
1539 -# Copyright 1999-2010 Gentoo Foundation
1540 -# Distributed under the terms of the GNU General Public License v2
1541 -# $Header: $
1542 -
1543 -INTEL_DPN=parallel_studio_xe
1544 -INTEL_DID=1951
1545 -INTEL_DPV=2011
1546 -INTEL_SUBDIR=composerxe
1547 -
1548 -inherit intel-sdp
1549 -
1550 -DESCRIPTION="Common libraries and utilities needed for Intel compilers and libraries"
1551 -HOMEPAGE="http://software.intel.com/en-us/articles/intel-compilers/"
1552 -
1553 -IUSE="+compiler"
1554 -
1555 -QA_PREBUILT="
1556 - ${INTEL_SDP_DIR}/compiler/lib/*/*
1557 - ${INTEL_SDP_DIR}/bin/sourcechecker/*/*/*
1558 - ${INTEL_SDP_DIR}/bin/*/*"
1559 -
1560 -QA_PRESTRIPPED="
1561 - ${INTEL_SDP_DIR}/compiler/lib/*/.*libFNP.so
1562 - ${INTEL_SDP_DIR}/bin/sourcechecker/lib/*/pinruntime/.*
1563 - ${INTEL_SDP_DIR}/bin/sourcechecker/*/*/.*"
1564 -
1565 -CHECKREQS_DISK_BUILD=256
1566 -
1567 -pkg_setup() {
1568 - INTEL_BIN_RPMS="openmp openmp-devel"
1569 - INTEL_DAT_RPMS="compilerpro-common"
1570 - if use compiler; then
1571 - INTEL_BIN_RPMS="${INTEL_BIN_RPMS} compilerpro-devel sourcechecker-devel"
1572 - INTEL_DAT_RPMS="${INTEL_DAT_RPMS} compilerpro-vars sourcechecker-common"
1573 - fi
1574 - intel-sdp_pkg_setup
1575 -}
1576 -
1577 -src_install() {
1578 - intel-sdp_src_install
1579 - local arch fenv=35intelsdp
1580 - cat > ${fenv} <<-EOF
1581 - NLSPATH=${INTEL_SDP_EDIR}/lib/locale/en_US/%N
1582 - MANPATH=${INTEL_SDP_EDIR}/man/en_US
1583 - EOF
1584 - for arch in ${INTEL_ARCH}; do
1585 - cat >> ${fenv} <<-EOF
1586 - PATH=${INTEL_SDP_EDIR}/bin/${arch}:${INTEL_SDP_DIR}/mpirt/bin/${arch}
1587 - ROOTPATH=${INTEL_SDP_EDIR}/bin/${arch}:${INTEL_SDP_DIR}/mpirt/bin/${arch}
1588 - LDPATH=${INTEL_SDP_EDIR}/lib/${arch}
1589 - EOF
1590 - done
1591 - doenvd ${fenv} || die
1592 -}
1593
1594 diff --git a/sci-libs/atlas/atlas-3.9.32.ebuild b/sci-libs/atlas/atlas-3.9.37.ebuild
1595 similarity index 100%
1596 rename from sci-libs/atlas/atlas-3.9.32.ebuild
1597 rename to sci-libs/atlas/atlas-3.9.37.ebuild
1598
1599 diff --git a/sci-libs/cblas-reference/cblas-reference-20030223-r6.ebuild b/sci-libs/cblas-reference/cblas-reference-20110218.ebuild
1600 similarity index 100%
1601 rename from sci-libs/cblas-reference/cblas-reference-20030223-r6.ebuild
1602 rename to sci-libs/cblas-reference/cblas-reference-20110218.ebuild
1603
1604 diff --git a/sci-libs/ipp/ipp-7.0.1.084.ebuild b/sci-libs/ipp/ipp-7.0.2.137.ebuild
1605 similarity index 100%
1606 rename from sci-libs/ipp/ipp-7.0.1.084.ebuild
1607 rename to sci-libs/ipp/ipp-7.0.2.137.ebuild
1608
1609 diff --git a/sci-libs/mkl/mkl-10.3.0.084.ebuild b/sci-libs/mkl/mkl-10.3.2.137.ebuild
1610 similarity index 100%
1611 rename from sci-libs/mkl/mkl-10.3.0.084.ebuild
1612 rename to sci-libs/mkl/mkl-10.3.2.137.ebuild
1613
1614 diff --git a/sci-libs/openblas/ChangeLog b/sci-libs/openblas/ChangeLog
1615 new file mode 100644
1616 index 0000000..223edec
1617 --- /dev/null
1618 +++ b/sci-libs/openblas/ChangeLog
1619 @@ -0,0 +1,10 @@
1620 +# ChangeLog for sci-libs/openblas
1621 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
1622 +# $Header: $
1623 +
1624 +*openblas-9999 (23 Feb 2011)
1625 +
1626 + 23 Feb 2011; Sébastien Fabbro <bicatali@g.o> +openblas-9999.ebuild,
1627 + +files/openblas-sharedlibs.patch, +metadata.xml:
1628 + Initial import
1629 +
1630
1631 diff --git a/sci-libs/openblas/Manifest b/sci-libs/openblas/Manifest
1632 new file mode 100644
1633 index 0000000..d3ce047
1634 --- /dev/null
1635 +++ b/sci-libs/openblas/Manifest
1636 @@ -0,0 +1,4 @@
1637 +AUX openblas-sharedlibs.patch 1926 RMD160 2922ebe6e0e05b8844ea89feaea8ff30a0caacb9 SHA1 66ce3c97c91c70b5cb733e02219c2179dd8279f2 SHA256 0802a87e8f5c90ad99a78f1b82f3d85ed474b53b7adcb204c3bc934a9239a64d
1638 +EBUILD openblas-9999.ebuild 2656 RMD160 b854e17cb4a4bbb5f1dd10cc41673686dec0acc0 SHA1 67923c5e1cfd06bf8221024a0f355af275bcb644 SHA256 970d80a6b8b33e01a76b9274b1d2157aa221b30d77eb2c65e48176b7abcbeed5
1639 +MISC ChangeLog 295 RMD160 59b4808b4a82b6e9cbe57638581d379f3c5a98f2 SHA1 84cf60ac42f25ba629839b96ee6afe424d439003 SHA256 6b3b1793f43f754464a4d83f8ec146ca54e684f030d6fa81907312ab8f0c0274
1640 +MISC metadata.xml 569 RMD160 4405ffe0e8941f0806ce0b7f984052be2ee4ed8b SHA1 ae10082e791ba7635e3c5986b0842fd74ff9ef38 SHA256 ddd3fa2f35204325b559955bc761c1c837265b9fc3ecc31dac760bc30fa082d2
1641
1642 diff --git a/sci-libs/openblas/files/openblas-sharedlibs.patch b/sci-libs/openblas/files/openblas-sharedlibs.patch
1643 new file mode 100644
1644 index 0000000..270f343
1645 --- /dev/null
1646 +++ b/sci-libs/openblas/files/openblas-sharedlibs.patch
1647 @@ -0,0 +1,45 @@
1648 +--- exports/Makefile.orig 2010-11-12 05:30:06.000000000 +0000
1649 ++++ exports/Makefile 2010-11-12 06:33:41.000000000 +0000
1650 +@@ -97,10 +97,10 @@
1651 + so : ../$(LIBSONAME)
1652 +
1653 + ../$(LIBSONAME) : ../$(LIBNAME) linux.def linktest.c
1654 +- $(CC) $(CFLAGS) -shared -o ../$(LIBSONAME) \
1655 +- -Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive \
1656 +- -Wl,--retain-symbols-file=linux.def $(EXTRALIB)
1657 +- $(CC) $(CFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) && echo OK.
1658 ++ $(CC) $(CFLAGS) -shared \
1659 ++ -Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive -Wl,--soname=$(LIBSONAME) \
1660 ++ -Wl,--retain-symbols-file=linux.def $(EXTRALIB) -o ../$(LIBSONAME)
1661 ++ $(CC) $(CFLAGS) -w linktest.c ../$(LIBSONAME) $(FEXTRALIB) -o linktest && echo OK.
1662 + rm -f linktest
1663 +
1664 + endif
1665 +@@ -110,10 +110,10 @@
1666 + so : ../$(LIBSONAME)
1667 +
1668 + ../$(LIBSONAME) : ../$(LIBNAME) linux.def linktest.c
1669 +- $(CC) $(CFLAGS) -shared -o ../$(LIBSONAME) \
1670 +- -Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive \
1671 +- -Wl,--retain-symbols-file=linux.def $(EXTRALIB)
1672 +- $(CC) $(CFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) && echo OK.
1673 ++ $(CC) $(CFLAGS) -shared \
1674 ++ -Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive -Wl,--soname=$(LIBSONAME) \
1675 ++ -Wl,--retain-symbols-file=linux.def $(EXTRALIB) -o ../$(LIBSONAME)
1676 ++ $(CC) $(CFLAGS) -w linktest.c ../$(LIBSONAME) $(FEXTRALIB) -o linktest && echo OK.
1677 + rm -f linktest
1678 +
1679 + endif
1680 +@@ -129,9 +129,9 @@
1681 + ifeq ($(OSNAME), SunOS)
1682 +
1683 + so : ../$(LIBSONAME)
1684 +- $(CC) $(CFLAGS) -shared -o ../$(LIBSONAME) \
1685 +- -Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive $(EXTRALIB)
1686 +- $(CC) $(CFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) && echo OK.
1687 ++ $(CC) $(CFLAGS) -shared -Wl,--soname=$(LIBSONAME) \
1688 ++ -Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive $(EXTRALIB) -o ../$(LIBSONAME)
1689 ++ $(CC) $(CFLAGS) -w linktest.c ../$(LIBSONAME) $(FEXTRALIB) -o linktest && echo OK.
1690 + rm -f linktest
1691 +
1692 + endif
1693
1694 diff --git a/sci-libs/openblas/metadata.xml b/sci-libs/openblas/metadata.xml
1695 new file mode 100644
1696 index 0000000..fd35350
1697 --- /dev/null
1698 +++ b/sci-libs/openblas/metadata.xml
1699 @@ -0,0 +1,14 @@
1700 +<?xml version="1.0" encoding="UTF-8"?>
1701 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
1702 +<pkgmetadata>
1703 +<herd>sci</herd>
1704 +<longdescription lang="en">
1705 + OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD
1706 + version. See <pkg>sci-libs/gotoblas2</pkg> for more on GotoBLAS2.
1707 +</longdescription>
1708 +<use>
1709 + <flag name='int64'>Build the 64 bits integer library</flag>
1710 + <flag name='incblas'>Build the CBLAS interface</flag>
1711 + <flag name='dynamic'>Build dynamic architecture detection at run time (for multi targets)</flag>
1712 +</use>
1713 +</pkgmetadata>
1714
1715 diff --git a/sci-libs/openblas/openblas-9999.ebuild b/sci-libs/openblas/openblas-9999.ebuild
1716 new file mode 100644
1717 index 0000000..8b73040
1718 --- /dev/null
1719 +++ b/sci-libs/openblas/openblas-9999.ebuild
1720 @@ -0,0 +1,107 @@
1721 +# Copyright 1999-2011 Gentoo Foundation
1722 +# Distributed under the terms of the GNU General Public License v2
1723 +# $Header: $
1724 +
1725 +EAPI=3
1726 +
1727 +inherit eutils toolchain-funcs alternatives-2 git
1728 +
1729 +DESCRIPTION="Optimized BLAS library based on GotoBLAS2"
1730 +HOMEPAGE="http://xianyi.github.com/OpenBLAS/"
1731 +EGIT_REPO_URI="git://github.com/xianyi/OpenBLAS.git"
1732 +
1733 +LICENSE="BSD"
1734 +SLOT="0"
1735 +KEYWORDS="~amd64 ~x86"
1736 +
1737 +IUSE="+incblas int64 dynamic openmp static-libs threads"
1738 +
1739 +RDEPEND=""
1740 +DEPEND=""
1741 +
1742 +S="${WORKDIR}/${MYPN}"
1743 +
1744 +src_prepare() {
1745 + epatch "${FILESDIR}"/${PN}-sharedlibs.patch
1746 + if ! use dynamic; then
1747 + sed -i \
1748 + -e "/^COMMON_OPT/s/-O2/${CFLAGS}/" \
1749 + Makefile.rule || die
1750 + fi
1751 + # fix executable stacks
1752 + local i
1753 + for i in $(find . -name \*.S); do
1754 + cat >> ${i} <<-EOF
1755 + #if defined(__ELF__)
1756 + .section .note.GNU-stack,"",%progbits
1757 + #endif
1758 + EOF
1759 + done
1760 +}
1761 +
1762 +src_configure() {
1763 + local bits=32
1764 + if use amd64 || use alpha || use ppc64 || use sparc || use ia64; then
1765 + bits=64
1766 + fi
1767 + MAKEFLAGS=(
1768 + CC=$(tc-getCC)
1769 + FC=$(tc-getFC)
1770 + BINARY=${bits}
1771 + USE_THREAD=$(use threads && echo 1 || echo 0)
1772 + USE_OPENMP=$(use openmp && echo 1)
1773 + DYNAMIC_ARCH=$(use dynamic && echo 1)
1774 + INTERFACE64=$(use int64 && echo 1)
1775 + NO_CBLAS=$(use incblas || echo 1)
1776 + )
1777 +}
1778 +
1779 +src_compile() {
1780 + emake libs shared "${MAKEFLAGS[@]}" || die "emake failed"
1781 + if use static-libs; then
1782 + rename so so_sav *.so && emake clean
1783 + emake libs "${MAKEFLAGS[@]}" NEED_PIC= || die "emake static failed"
1784 + rename so_sav so *.so_sav
1785 + fi
1786 +}
1787 +
1788 +src_test() {
1789 + emake tests "${MAKEFLAGS[@]}" || die "emake tests failed"
1790 +}
1791 +
1792 +src_install() {
1793 + local libname=${PN}
1794 + mv $(readlink lib${libname}.so) lib${libname}.so
1795 + dolib.so lib${libname}.so || die "installing shared ${libname} failed"
1796 + if use static-libs; then
1797 + mv $(readlink lib${libname}.a) lib${libname}.a
1798 + dolib.a lib${libname}.a || die "installing static ${libname} failed"
1799 + fi
1800 + # create pkg-config file and associated eselect file
1801 + cat <<-EOF > ${libname}.pc
1802 + prefix="${EPREFIX}"/usr
1803 + libdir=\${prefix}/$(get_libdir)
1804 + includedir=\${prefix}/include
1805 +
1806 + Name: ${MYPN}
1807 + Description: ${DESCRIPTION}
1808 + Version: ${PV}
1809 + URL: ${HOMEPAGE}
1810 + Libs: -L\${libdir} -l${libname}
1811 + Libs.private: -lm
1812 + EOF
1813 + alternatives_for blas openblas 0 \
1814 + "/usr/$(get_libdir)/pkgconfig/blas.pc" "${libname}.pc"
1815 +
1816 + if use incblas; then
1817 + insinto /usr/include/${PN}
1818 + doins cblas.h || die
1819 + echo >> ${libname}.pc "Cflags: -I\${includedir}/${PN}"
1820 + alternatives_for cblas openblas 0 \
1821 + "/usr/$(get_libdir)/pkgconfig/cblas.pc" "${libname}.pc" \
1822 + "/usr/include/cblas.h" "${PN}/cblas.h"
1823 + fi
1824 + insinto /usr/$(get_libdir)/pkgconfig
1825 + doins ${libname}.pc
1826 + dodoc 01Readme.txt 03FAQ.txt 05LargePage 06WeirdPerformance
1827 +}