diff options
author | Justin Lecher <jlec@gentoo.org> | 2013-05-02 14:14:32 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2013-05-02 14:14:32 +0000 |
commit | 3eb5558d8f4c4b9db9aec762b82cb4e6debc5874 (patch) | |
tree | 7abab43130123e9cd1347f9174a42c7ea926b51c /dev-libs/intel-common/intel-common-13.1.3.163.ebuild | |
parent | Revert for sping's request (diff) | |
download | gentoo-2-3eb5558d8f4c4b9db9aec762b82cb4e6debc5874.tar.gz gentoo-2-3eb5558d8f4c4b9db9aec762b82cb4e6debc5874.tar.bz2 gentoo-2-3eb5558d8f4c4b9db9aec762b82cb4e6debc5874.zip |
dev-libs/intel-common: Version Bump
(Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
Diffstat (limited to 'dev-libs/intel-common/intel-common-13.1.3.163.ebuild')
-rw-r--r-- | dev-libs/intel-common/intel-common-13.1.3.163.ebuild | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/dev-libs/intel-common/intel-common-13.1.3.163.ebuild b/dev-libs/intel-common/intel-common-13.1.3.163.ebuild new file mode 100644 index 000000000000..6491bcccdbea --- /dev/null +++ b/dev-libs/intel-common/intel-common-13.1.3.163.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/intel-common/intel-common-13.1.3.163.ebuild,v 1.1 2013/05/02 14:14:32 jlec Exp $ + +EAPI=5 + +INTEL_DPN=parallel_studio_xe +INTEL_DID=3078 +INTEL_DPV=2013_update3 +INTEL_SUBDIR=composerxe + +inherit intel-sdp + +DESCRIPTION="Common libraries and utilities needed for Intel compilers and libraries" +HOMEPAGE="http://software.intel.com/en-us/articles/intel-compilers/" + +IUSE="+compiler" +KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux" + +CHECKREQS_DISK_BUILD=375M + +pkg_setup() { + einfo ${INTEL_SDP_EDIR} + INTEL_BIN_RPMS="openmp openmp-devel" + INTEL_DAT_RPMS="compilerpro-common" + if use compiler; then + INTEL_BIN_RPMS+=" compilerpro-devel sourcechecker-devel" + INTEL_DAT_RPMS+=" compilerpro-vars sourcechecker-common" + fi + intel-sdp_pkg_setup +} + +src_install() { + intel-sdp_src_install + local path rootpath ldpath arch fenv=35intelsdp + cat > ${fenv} <<-EOF + NLSPATH=${INTEL_SDP_EDIR}/lib/locale/en_US/%N + INTEL_LICENSE_FILE="${INTEL_SDP_EDIR}"/licenses:"${EPREFIX}/opt/intel/license" + EOF + for arch in ${INTEL_ARCH}; do + path=${path}:${INTEL_SDP_EDIR}/bin/${arch}:${INTEL_SDP_EDIR}/mpirt/bin/${arch} + rootpath=${rootpath}:${INTEL_SDP_EDIR}/bin/${arch}:${INTEL_SDP_EDIR}/mpirt/bin/${arch} + ldpath=${ldpath}:${INTEL_SDP_EDIR}/compiler/lib/${arch}:${INTEL_SDP_EDIR}/mpirt/lib/${arch} + done + cat >> ${fenv} <<-EOF + PATH=${path#:} + ROOTPATH=${rootpath#:} + LDPATH=${ldpath#:} + EOF + + doenvd ${fenv} + + cat >> "${T}"/40-${PN} <<- EOF + SEARCH_DIRS_MASK="${INTEL_SDP_EDIR}" + EOF + insinto /etc/revdep-rebuild/ + doins "${T}"/40-${PN} +} |