Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 205973 Details for
Bug 246516
dev-lang/(icc|idb)-11.1.046 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
idb-11.1.056.ebuild
idb-11.1.056.ebuild (text/plain), 4.27 KB, created by
Jacek Szafarkiewicz
on 2009-10-03 23:09:44 UTC
(
hide
)
Description:
idb-11.1.056.ebuild
Filename:
MIME Type:
Creator:
Jacek Szafarkiewicz
Created:
2009-10-03 23:09:44 UTC
Size:
4.27 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/icc-11.1.046-r2.ebuild,v 1.1 2009/08/23 21:28:09 weaver Exp $ > >EAPI="2" > >inherit toolchain-funcs > >PID=1536 >PB=cproc >DESCRIPTION="Intel C/C++ optimized compiler for Linux" >HOMEPAGE="http://www.intel.com/software/products/compilers/clin/" > >### ># everything below common to ifc and icc ># no eclass: very likely to change for next versions >### >PACKAGEID="l_${PB}_p_${PV}" >RELEASE="${PV:0:4}" >BUILD="${PV:5:8}" >SRC_URI="http://registrationcenter-download.intel.com/irc_nas/${PID}/${PACKAGEID}.tgz" >#SRC_URI="amd64? ( http://registrationcenter-download.intel.com/irc_nas/${PID}/${PACKAGEID}_intel64.tgz ) ># ia64? ( http://registrationcenter-download.intel.com/irc_nas/${PID}/${PACKAGEID}_ia64.tgz ) ># x86? ( http://registrationcenter-download.intel.com/irc_nas/${PID}/${PACKAGEID}_ia32.tgz )" > >LICENSE="Intel-SDP" >SLOT="0" >IUSE="eclipse" >KEYWORDS="~amd64" > >RESTRICT="mirror strip binchecks" > >INSTALL_DIR="opt/intel/Debugger/${RELEASE}/${BUILD}" ># these don't work, not sure why >#QA_TEXTRELS="${INSTALL_DIR}" >#QA_WX_LOAD="${INSTALL_DIR}" >#QA_PRESTRIPPED="${INSTALL_DIR}" > >DEPEND="app-arch/rpm" >RDEPEND="~virtual/libstdc++-3.3 > amd64? ( app-emulation/emul-linux-x86-compat ) > eclipse? ( >=dev-util/eclipse-sdk-3.4 )" > >S="${WORKDIR}/${PACKAGEID}" > >src_prepare() { > use amd64 || rm -f rpm/*x86_64.rpm > use eclipse || rm -f rpm/*cdt*.rpm > > # deleting files which aren't from idb > for rpmFile in rpm/*.rpm; do > if [ "`echo \"${rpmFile}\" | grep -v \"${PN}\"`" ]; then > rm -r "${rpmFile}" > fi > done >} > >src_install() { > mkdir "${WORKDIR}/rpmdb" > # rpm open_wr's / but doesn't seem to do anything with it > addpredict / > rpm --install --nodeps --dbpath "${WORKDIR}/rpmdb" --prefix "${D}/${INSTALL_DIR}" rpm/*.rpm || die > > ENV_FILE=05${PN} > MYARCH="" > if use amd64; then MYARCH=intel64; fi > if use ia64; then MYARCH=ia64; fi > if use x86; then MYARCH=ia32; fi > > find "${D}/${INSTALL_DIR}" -name '*.csh' | xargs sed -i "s|${D}|${ROOT}|g" || die > find "${D}/${INSTALL_DIR}" -name '*.sh' | xargs sed -i "s|${D}|${ROOT}|g" || die > > sed -i "s|${D}|${ROOT}|g" "${D}/${INSTALL_DIR}/bin/ia32"/{idbc,idb} || die > use amd64 && (sed -i "s|${D}|${ROOT}|g" "${D}/${INSTALL_DIR}/bin/intel64"/{idbc,idb} || die) > > cat <<EOF > ${ENV_FILE} >INTEL_LICENSE_FILE=${ROOT}${INSTALL_DIR}/licenses:${ROOT}opt/intel/licenses >LIBRARY_PATH=${ROOT}${INSTALL_DIR}/${PN}/lib/${MYARCH} >LD_LIBRARY_PATH=${ROOT}${INSTALL_DIR}/${PN}/lib/${MYARCH} >LDPATH=${ROOT}${INSTALL_DIR}/${PN}/lib/${MYARCH} >NLSPATH=${ROOT}${INSTALL_DIR}/${PN}/${MYARCH}/locale/%l_%t/%N >PATH=${ROOT}${INSTALL_DIR}/bin/${MYARCH} >ROOTPATH=${ROOT}${INSTALL_DIR}/bin/${MYARCH} >EOF > > doenvd ${ENV_FILE} || die > > keepdir /opt/intel/licenses > > if use eclipse; then > if has_version 'dev-util/eclipse-sdk:3.4'; then > link_eclipse_plugins "3.4" "5.0" || die 'Unable to create links to eclipse v3.4 and cdt 5.0' > fi > > if has_version 'dev-util/eclipse-sdk:3.5'; then > link_eclipse_plugins "3.5" "6.0" || die 'Unable to create links to eclipse v3.5 and cdt 6.0' > fi > fi >} > >pkg_postinst() { > env-update > elog "${PN} requires a license file in order to run." > elog "To receive a restrictive non-commercial license, please register at:" > elog "http://www.intel.com/cd/software/products/asmo-na/eng/download/download/219771.htm" > elog "Read the website for more information on this license." > elog "Install the license file into ${ROOT}opt/intel/licenses" > elog > elog "The following packages provide components bundled with idb:" > elog "\t dev-lang/icc" > elog "\t sci-libs/ipp" > elog "\t sci-libs/mkl" >} > >link_eclipse_plugins() { > ECLIPSE_V="$1" > CDT_V="$2" > > einfo "Linking eclipse (v${ECLIPSE_V}) plugin cdt (v${CDT_V})" > > dodir "/usr/lib/eclipse-${ECLIPSE_V}/plugins/" > dodir "/usr/lib/eclipse-${ECLIPSE_V}/features/" > > for cdt_file in "${D}/${INSTALL_DIR}/idb/eclipse_support/cdt${CDT_V}/eclipse/plugins"/*; do > cdt_file="`echo ${cdt_file} | sed \"s:^${D}/:${ROOT}:\"`" > dosym "${cdt_file}" "${ROOT}usr/lib/eclipse-${ECLIPSE_V}/plugins/" > done > > for cdt_file in "${D}/${INSTALL_DIR}/idb/eclipse_support/cdt${CDT_V}/eclipse/features"/*; do > cdt_file="`echo ${cdt_file} | sed \"s:^${D}/:${ROOT}:\"`" > dosym "${cdt_file}" "${ROOT}usr/lib/eclipse-${ECLIPSE_V}/features/" > done > > eend $? >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 246516
:
171758
|
172919
|
173064
|
173250
|
173252
|
173253
|
173264
|
182044
|
190551
|
205789
|
205793
|
205890
|
205972
| 205973