diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2007-11-15 20:30:45 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2007-11-15 20:30:45 +0000 |
commit | dde71b6a31926b529f5a0d4e1a1f033f26385c03 (patch) | |
tree | 074732775baeb20f82f0782208667d6f5c279c5e /dev-lang/ifc | |
parent | Version bump, removed old release, removed INCLUDE env variable. (diff) | |
download | gentoo-2-dde71b6a31926b529f5a0d4e1a1f033f26385c03.tar.gz gentoo-2-dde71b6a31926b529f5a0d4e1a1f033f26385c03.tar.bz2 gentoo-2-dde71b6a31926b529f5a0d4e1a1f033f26385c03.zip |
Version bump, removed old release, removed INCLUDE env variable.
(Portage version: 2.1.3.19)
Diffstat (limited to 'dev-lang/ifc')
-rw-r--r-- | dev-lang/ifc/ChangeLog | 8 | ||||
-rw-r--r-- | dev-lang/ifc/files/9.1/05ifc | 6 | ||||
-rw-r--r-- | dev-lang/ifc/files/digest-ifc-10.1.008 | 9 | ||||
-rw-r--r-- | dev-lang/ifc/files/digest-ifc-9.1.040 | 3 | ||||
-rw-r--r-- | dev-lang/ifc/ifc-10.1.008.ebuild | 101 | ||||
-rw-r--r-- | dev-lang/ifc/ifc-9.1.040.ebuild | 131 |
6 files changed, 117 insertions, 141 deletions
diff --git a/dev-lang/ifc/ChangeLog b/dev-lang/ifc/ChangeLog index 113436969bf7..4228f2d355ef 100644 --- a/dev-lang/ifc/ChangeLog +++ b/dev-lang/ifc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-lang/ifc # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/ifc/ChangeLog,v 1.36 2007/11/08 20:07:03 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ifc/ChangeLog,v 1.37 2007/11/15 20:30:44 bicatali Exp $ + +*ifc-10.1.008 (15 Nov 2007) + + 15 Nov 2007; Sébastien Fabbro <bicatali@gentoo.org> -files/9.1/05ifc, + -ifc-9.1.040.ebuild, +ifc-10.1.008.ebuild: + Version bump, removed old release, removed INCLUDE env variable. 08 Nov 2007; Raúl Porcel <armin76@gentoo.org> ifc-10.0.026-r1.ebuild: ia64 stable wrt #197977 diff --git a/dev-lang/ifc/files/9.1/05ifc b/dev-lang/ifc/files/9.1/05ifc deleted file mode 100644 index c045af50e031..000000000000 --- a/dev-lang/ifc/files/9.1/05ifc +++ /dev/null @@ -1,6 +0,0 @@ -IA32ROOT=/opt/intel/fortran91 -INTEL_FLEXLM_LICENSE=/opt/intel/fortran91/licenses -LDPATH=/opt/intel/fortran91/lib -MANPATH=/opt/intel/fortran91/man -PATH=/opt/intel/fortran91/bin -ROOTPATH=/opt/intel/fortran91/bin diff --git a/dev-lang/ifc/files/digest-ifc-10.1.008 b/dev-lang/ifc/files/digest-ifc-10.1.008 new file mode 100644 index 000000000000..e9c4ea24a9c5 --- /dev/null +++ b/dev-lang/ifc/files/digest-ifc-10.1.008 @@ -0,0 +1,9 @@ +MD5 fb3c85f543c819135829f56a6a6b6bc8 l_fc_p_10.1.008_ia32.tar.gz 40881667 +RMD160 13233d075838d3a22a282632b77c5a6d3bf7673f l_fc_p_10.1.008_ia32.tar.gz 40881667 +SHA256 09bd45b9f96dfbd9efffb52bad779593fed035dfef8d64feccc3bbf3c8b589a9 l_fc_p_10.1.008_ia32.tar.gz 40881667 +MD5 57a1312fe838f06446789d4bbf1da6fc l_fc_p_10.1.008_ia64.tar.gz 68785027 +RMD160 38a5f6bc622414ab637714ede01434b784ead4e9 l_fc_p_10.1.008_ia64.tar.gz 68785027 +SHA256 fa1866dd4e4c4c4c1fe20c0012fd01ae4059d31c10c17f83c5c49eb7ee86d4dd l_fc_p_10.1.008_ia64.tar.gz 68785027 +MD5 3be3bd23ffb1ace4289e73dc50e89b0b l_fc_p_10.1.008_intel64.tar.gz 42511560 +RMD160 9bbb963d3df5ad2bdf13a1ec36a0be195960ca95 l_fc_p_10.1.008_intel64.tar.gz 42511560 +SHA256 7744d0255f879de0cf39b73c0bae68f6b667f07f495571b5f7690525f75eec24 l_fc_p_10.1.008_intel64.tar.gz 42511560 diff --git a/dev-lang/ifc/files/digest-ifc-9.1.040 b/dev-lang/ifc/files/digest-ifc-9.1.040 deleted file mode 100644 index d38c44727940..000000000000 --- a/dev-lang/ifc/files/digest-ifc-9.1.040 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 1601cc7f48f28c692dfccf29fec69774 l_fc_c_9.1.040.tar.gz 139611995 -RMD160 81e703df4273b095a9944064586a30f5f41caa96 l_fc_c_9.1.040.tar.gz 139611995 -SHA256 907ee053eeaacac332b0f3fdb408d662b1e1d42a33a02a2916e7563888765a1c l_fc_c_9.1.040.tar.gz 139611995 diff --git a/dev-lang/ifc/ifc-10.1.008.ebuild b/dev-lang/ifc/ifc-10.1.008.ebuild new file mode 100644 index 000000000000..6e4543cbf433 --- /dev/null +++ b/dev-lang/ifc/ifc-10.1.008.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ifc/ifc-10.1.008.ebuild,v 1.1 2007/11/15 20:30:44 bicatali Exp $ + +inherit rpm + +PID=862 +PB=fc +PEXEC="ifort" +DESCRIPTION="Intel FORTRAN 77/95 optimized compiler for Linux" +HOMEPAGE="http://www.intel.com/software/products/compilers/flin/" + +### +# everything below common to ifc and icc +# no eclass: very likely to change for next versions +### +PACKAGEID="l_${PB}_p_${PV}" +KEYWORDS="~amd64 ~ia64 ~x86" +SRC_URI="amd64? ( http://registrationcenter-download.intel.com/irc_nas/${PID}/${PACKAGEID}_intel64.tar.gz ) + ia64? ( http://registrationcenter-download.intel.com/irc_nas/${PID}/${PACKAGEID}_ia64.tar.gz ) + x86? ( http://registrationcenter-download.intel.com/irc_nas/${PID}/${PACKAGEID}_ia32.tar.gz )" + +LICENSE="Intel-SDP" +SLOT="0" + +RESTRICT="test strip mirror" +IUSE="" +DEPEND="" +RDEPEND="virtual/libstdc++ + amd64? ( app-emulation/emul-linux-x86-compat )" + +pkg_setup() { + if has_version "<dev-lang/${P}"; then + ewarn "${PN}-9.x detected, probably with slotting." + ewarn "This version has many bugs and was installed with slotting." + ewarn "You might want to do an emerge -C ${PN} first" + epause 10 + fi +} + +src_unpack() { + unpack ${A} + mv "${WORKDIR}"/l_* "${S}" + cd "${S}" + + local ext= + use amd64 && ext=e + INSTALL_DIR=/opt/intel/${PB}${ext}/${PV} + + # debugger installed with dev-lang/idb + rm -f data/intel*idb*.rpm + + for x in data/intel*.rpm; do + einfo "Extracting $(basename ${x})..." + rpm_unpack "${S}/${x}" || die "rpm_unpack ${x} failed" + done + + einfo "Fixing paths and tagging" + cd "${S}"/${INSTALL_DIR}/bin + sed -e "s|<INSTALLDIR>|${INSTALL_DIR}|g" \ + -e 's|export -n IA32ROOT;||g' \ + -i ${PEXEC} *sh \ + || die "sed fixing shells and paths failed" + + cd "${S}"/${INSTALL_DIR}/doc + sed -e "s|\<installpackageid\>|${PACKAGEID}|g" \ + -e "s|\<INSTALLTIMECOMBOPACKAGEID\>|${PACKAGEID}|g" \ + -i *support \ + || die "sed support file failed" + chmod 644 *support +} + +src_install() { + einfo "Copying files" + dodir ${INSTALL_DIR} + cp -pPR \ + "${S}"/${INSTALL_DIR}/* \ + "${D}"/${INSTALL_DIR}/ \ + || die "copying ${PN} failed" + + local env_file=05${PN} + echo "PATH=${INSTALL_DIR}/bin" > ${env_file} + echo "ROOTPATH=${INSTALL_DIR}/bin" >> ${env_file} + echo "LDPATH=${INSTALL_DIR}/lib" >> ${env_file} + echo "MANPATH=${INSTALL_DIR}/man" >> ${env_file} + doenvd ${env_file} || die "doenvd ${env_file} failed" +} + +pkg_postinst () { + # remove left over from unpacking + rm -f "${ROOT}"/opt/intel/{intel_sdp_products.db,.*.log} || die "remove logs failed" + + elog "Make sure you have recieved the a license for ${PN}" + elog "To receive a restrictive non-commercial licenses , you need to 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 "You cannot run ${PN} without a license file." + elog "Then put the license file into ${ROOT}/opt/intel/licenses" + elog "\nTo use ${PN} issue first \n\tsource /etc/profile" + elog "Debugger is installed with dev-lang/idb" +} diff --git a/dev-lang/ifc/ifc-9.1.040.ebuild b/dev-lang/ifc/ifc-9.1.040.ebuild deleted file mode 100644 index 052f27b56564..000000000000 --- a/dev-lang/ifc/ifc-9.1.040.ebuild +++ /dev/null @@ -1,131 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/ifc/ifc-9.1.040.ebuild,v 1.7 2007/11/06 10:24:38 bicatali Exp $ - -inherit rpm versionator - -MAJOR=$(get_major_version ${PV}) -MINOR=$(get_version_component_range 2 ${PV}) - -DESCRIPTION="Intel Fortran Compiler for Linux" -HOMEPAGE="http://www.intel.com/software/products/compilers/flin/" -IUSE="" -KEYWORDS="~amd64 ia64 x86" -LICENSE="ifc-9.0" -RESTRICT="strip fetch" -#SLOT="${MAJOR}.${MINOR}" -SLOT="0" -MMV="${MAJOR}.${MINOR}" - -SRC_URI="l_fc_c_${PV}.tar.gz" -DEPEND=">=sys-libs/glibc-2.3.2" -RDEPEND="sys-devel/gcc" -S="${WORKDIR}/l_fc_c_${PV}" - -src_unpack() { - unpack ${A} - - cd ${S} || die - - # The tarball contains rpms for multiple arches, and a lot of - # auxiliary rpms common across arches. We must throw away - # the arch we're not. - case ${ARCH} in - amd64) - rm -f data/intel-*.{i386,ia64}.rpm - ;; - ia64) - rm -f data/intel-*.{em64t,i386}.rpm - ;; - x86) - rm -f data/intel-*.{em64t,ia64}.rpm - ;; - esac - - for x in *.rpm - do - # WORKDIR must be set properly for rpm_unpack() - rpm_unpack ${S}/data/${x} - done - -} - -src_compile() { - instdir=/opt/intel/fortran${MMV//.} - - for x in opt/intel/*/*/bin/* ; do - sed "s|<INSTALLDIR>|${instdir}|g" -i $x - done - - # == SRC_BASE - eval `grep "^[ ]*PACKAGEID=" ${S}/data/install_fc.sh` - einfo "PACKAGEID=${PACKAGEID}" - - # From UNTAG_SUPPORT() in 'install_fc.sh' - case ${ARCH} in - amd64) - SUPPORTFILE=${S}/opt/intel/fce/${MMV}*/doc/fesupport - ;; - ia64|x86) - SUPPORTFILE=${S}/opt/intel/fc/${MMV}*/doc/fsupport - ;; - esac - if [ -f ${SUPPORTFILE} ] - then - einfo "Untagging: ${SUPPORTFILE}" - sed s@\<installpackageid\>@${PACKAGEID}@g ${SUPPORTFILE} > ${SUPPORTFILE}.abs - mv ${SUPPORTFILE}.abs ${SUPPORTFILE} - chmod 644 ${SUPPORTFILE} - fi - - # From UNTAG_SUPPORT_IDB() in 'install_fc.sh' - case ${ARCH} in - amd64) - SUPPORTFILE=${S}/opt/intel/idbe/${MMV}*/doc/idbesupport - ;; - ia64 | x86) - SUPPORTFILE=${S}/opt/intel/idb/${MMV}*/doc/idbsupport - ;; - esac - if [ -f ${SUPPORTFILE} ] - then - einfo "Untagging: ${SUPPORTFILE}" - sed s@\<INSTALLTIMECOMBOPACKAGEID\>@${PACKAGEID}@g ${SUPPORTFILE} > ${SUPPORTFILE}.abs - mv ${SUPPORTFILE}.abs ${SUPPORTFILE} - chmod 644 ${SUPPORTFILE} - fi -} - -src_install () { - instdir=/opt/intel/fortran${MMV//.} - # No lgpltext in ifc - # dodoc ${S}/lgpltext - dodoc ${S}/flicense - dodir ${instdir} - cp -pPR opt/intel/fc*/${MMV}*/* ${D}/${instdir} - cp -pPR opt/intel/idb*/${MMV}*/* ${D}/${instdir} - doenvd ${FILESDIR}/${MMV}/05ifc || die -} - -pkg_postinst () { - instdir=/opt/intel/fortran${MMV//.} - - einfo "http://www.intel.com/software/products/compilers/flin/noncom.htm" - einfo "From the above url you can get a free, non-commercial" - einfo "license to use the Intel Fortran Compiler emailed to you." - einfo "You cannot run ifc without this license file." - einfo "Read the website for more information on this license." - einfo - einfo "Documentation can be found in ${instdir}/doc/" - einfo - einfo "You will need to place your license in ${instdir}/licenses/" - echo - - ewarn "If 'ifc' breaks, use 'ifortbin' instead and report a bug." - echo - - ewarn "Please perform" - ewarn " env-update" - ewarn " source /etc/profile" - ewarn "prior to using ifc." -} |