Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-libs/intel-common/
Date: Tue, 27 Nov 2012 19:35:41
Message-Id: 1354044116.f93167520a051ff29d6d842a55a30e832628fe9a.jlec@gentoo
1 commit: f93167520a051ff29d6d842a55a30e832628fe9a
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 15 10:02:15 2012 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 27 19:21:56 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=f9316752
7
8 Imported from tree
9
10 ---
11 dev-libs/intel-common/ChangeLog | 21 +++++++
12 .../intel-common/intel-common-13.0.0.079-r1.ebuild | 59 ++++++++++++++++++++
13 dev-libs/intel-common/metadata.xml | 12 ++++
14 3 files changed, 92 insertions(+), 0 deletions(-)
15
16 diff --git a/dev-libs/intel-common/ChangeLog b/dev-libs/intel-common/ChangeLog
17 new file mode 100644
18 index 0000000..22f2399
19 --- /dev/null
20 +++ b/dev-libs/intel-common/ChangeLog
21 @@ -0,0 +1,21 @@
22 +# ChangeLog for dev-libs/intel-common
23 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
24 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/intel-common/ChangeLog,v 1.4 2012/11/14 18:34:25 bicatali Exp $
25 +
26 + 14 Nov 2012; Sébastien Fabbro <bicatali@g.o> metadata.xml:
27 + Removing myself from maintainer
28 +
29 +*intel-common-13.0.0.079-r1 (28 Oct 2012)
30 +
31 + 28 Oct 2012; Justin Lecher <jlec@g.o>
32 + +intel-common-13.0.0.079-r1.ebuild:
33 + Mask installation from revdep-rebuild ,#438820
34 +
35 + 20 Sep 2012; Justin Lecher <jlec@g.o> intel-common-13.0.0.079.ebuild:
36 + Avoid double prefix
37 +
38 +*intel-common-13.0.0.079 (16 Sep 2012)
39 +
40 + 16 Sep 2012; Justin Lecher <jlec@g.o> +intel-common-13.0.0.079.ebuild,
41 + +metadata.xml:
42 + Imported from sci overlay; new package containing common libs, #297542
43
44 diff --git a/dev-libs/intel-common/intel-common-13.0.0.079-r1.ebuild b/dev-libs/intel-common/intel-common-13.0.0.079-r1.ebuild
45 new file mode 100644
46 index 0000000..4692811
47 --- /dev/null
48 +++ b/dev-libs/intel-common/intel-common-13.0.0.079-r1.ebuild
49 @@ -0,0 +1,59 @@
50 +# Copyright 1999-2012 Gentoo Foundation
51 +# Distributed under the terms of the GNU General Public License v2
52 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/intel-common/intel-common-13.0.0.079-r1.ebuild,v 1.1 2012/10/28 15:29:55 jlec Exp $
53 +
54 +EAPI=4
55 +
56 +INTEL_DPN=parallel_studio_xe
57 +INTEL_DID=2749
58 +INTEL_DPV=2013
59 +INTEL_SUBDIR=composerxe
60 +
61 +inherit intel-sdp
62 +
63 +DESCRIPTION="Common libraries and utilities needed for Intel compilers and libraries"
64 +HOMEPAGE="http://software.intel.com/en-us/articles/intel-compilers/"
65 +
66 +IUSE="+compiler"
67 +
68 +CHECKREQS_DISK_BUILD=325M
69 +
70 +pkg_setup() {
71 + einfo ${INTEL_SDP_EDIR}
72 + INTEL_BIN_RPMS="openmp openmp-devel"
73 + INTEL_DAT_RPMS="compilerpro-common"
74 + if use compiler; then
75 + INTEL_BIN_RPMS+=" compilerpro-devel sourcechecker-devel"
76 + INTEL_DAT_RPMS+=" compilerpro-vars sourcechecker-common"
77 + fi
78 + intel-sdp_pkg_setup
79 +}
80 +
81 +src_install() {
82 + intel-sdp_src_install
83 + local path rootpath ldpath arch fenv=35intelsdp
84 + cat > ${fenv} <<-EOF
85 + NLSPATH=${INTEL_SDP_EDIR}/lib/locale/en_US/%N
86 + MANPATH=${INTEL_SDP_EDIR}/man/en_US
87 + INTEL_LICENSE_FILE=${INTEL_SDP_EDIR}/licenses
88 + EOF
89 + for arch in ${INTEL_ARCH}; do
90 + path=${path}:${INTEL_SDP_EDIR}/bin/${arch}:${INTEL_SDP_EDIR}/mpirt/bin/${arch}
91 + rootpath=${rootpath}:${INTEL_SDP_EDIR}/bin/${arch}:${INTEL_SDP_EDIR}/mpirt/bin/${arch}
92 + ldpath=${ldpath}:${INTEL_SDP_EDIR}/compiler/lib/${arch}:${INTEL_SDP_EDIR}/mpirt/lib/${arch}
93 + done
94 + cat >> ${fenv} <<-EOF
95 + PATH=${path#:}
96 + ROOTPATH=${rootpath#:}
97 + LDPATH=${ldpath#:}
98 + EOF
99 +
100 + doenvd ${fenv}
101 + dodir ${INTEL_SDP_DIR}/licenses
102 +
103 + cat >> "${T}"/40-${PN} <<- EOF
104 + SEARCH_DIRS_MASK="${INTEL_SDP_EDIR}"
105 + EOF
106 + insinto /etc/revdep-rebuild/
107 + doins "${T}"/40-${PN}
108 +}
109
110 diff --git a/dev-libs/intel-common/metadata.xml b/dev-libs/intel-common/metadata.xml
111 new file mode 100644
112 index 0000000..5a311a4
113 --- /dev/null
114 +++ b/dev-libs/intel-common/metadata.xml
115 @@ -0,0 +1,12 @@
116 +<?xml version="1.0" encoding="UTF-8"?>
117 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
118 +<pkgmetadata>
119 +<herd>sci</herd>
120 +<longdescription lang="en">
121 + This package contains the core files to be installed for the Intel
122 + compilers and libraries. Probably useless if installed standalone.
123 +</longdescription>
124 +<use>
125 + <flag name="compiler">Install the libraries needed for the icc and ifort compilers</flag>
126 +</use>
127 +</pkgmetadata>