diff options
author | 2015-05-07 21:28:12 +0200 | |
---|---|---|
committer | 2015-05-07 21:28:12 +0200 | |
commit | 6762fabea1b286923512000532e54f08894bd157 (patch) | |
tree | 3a8aefd9eccd3f87c6ffec9ed13ebb3548cb7b14 | |
parent | bump vagrant to 1.6.1 (diff) | |
download | andy-6762fabea1b286923512000532e54f08894bd157.tar.gz andy-6762fabea1b286923512000532e54f08894bd157.tar.bz2 andy-6762fabea1b286923512000532e54f08894bd157.zip |
bump gcc-arm-embedded-bin to 4.9 and migrated to multilib
-rw-r--r-- | sys-devel/gcc-arm-embedded-bin/Manifest | 2 | ||||
-rw-r--r-- | sys-devel/gcc-arm-embedded-bin/gcc-arm-embedded-bin-4.9_p20150306.ebuild | 46 |
2 files changed, 48 insertions, 0 deletions
diff --git a/sys-devel/gcc-arm-embedded-bin/Manifest b/sys-devel/gcc-arm-embedded-bin/Manifest index f9aff3b..da35fec 100644 --- a/sys-devel/gcc-arm-embedded-bin/Manifest +++ b/sys-devel/gcc-arm-embedded-bin/Manifest @@ -1,2 +1,4 @@ DIST gcc-arm-none-eabi-4_7-2013q3-20130916-linux.tar.bz2 59548217 SHA256 0d10891d3a3b0b4c340650d576d62c016670e4dec166e06f16b60384535ca9ad SHA512 7af7f20e52858ffd373bf1aa6a9b1f49ef4e8907b41ae1008eb36b0bbe8d6038267a85294511ac93d35acb8e8796608b8d1aa6131cd3c9dfa8b4c6c1273a18ea WHIRLPOOL 819b333e5734cc173a5703c1b05628c5e9a8a8eef9a396312756d78af7b84b9ff15ece96c5891a30e3218e62d8a9f4b3a0b67e0611c5fd19cda5378e53d42634 +DIST gcc-arm-none-eabi-4_9-2015q1-20150306-linux.tar.bz2 74404999 SHA256 c5e0025b065750bbd76b5357b4fc8606d88afbac9ff55b8a82927b4b96178154 SHA512 0e551c4159fd2fe29c8124396eab9856628426be76c2a5b06f503e7401f30c71d6fbccced2af24859a83c2ec78c28f5e50d79c5112d96d087f6d07b68ce73917 WHIRLPOOL 2aacc75be764126873311397aee6d630751bc54f0174e7efb3f7f404879084cbe7db87b55beb83368fedf30467dc5cf2825ac8b8c6239bd9e64a8c4cafe45143 EBUILD gcc-arm-embedded-bin-4.7_p20130916.ebuild 1165 SHA256 2f80c6669bf269fee5eea30ef4b4d76570a786866e6eafe9021e0e41eaa77efa SHA512 0301ce581d2a08835bded6711235a3f35935a5b53ac4964f45aaf029657f81a735ad9e60f6ef5b72f31b27f21363a77cd07f00e8e544f03f78f6bb2a9ca7d379 WHIRLPOOL 8a80cf020ce79f3d9b61df544fe4b4a630b315902884e170e27607c5da8f9d2e3f2a0afb6f6d85f1b42c31d98e3c1f5934b43c679d4db2483e955df734a435ed +EBUILD gcc-arm-embedded-bin-4.9_p20150306.ebuild 1151 SHA256 17aa0cc3095afae32677efbfac5b3c7eb71421600fcd7065a12251054a5e4f95 SHA512 e09df7bd9d6e8d80872fbbb5e0350b3fd3d4b1b6e53cc8797b3bdf1626e5db43d565ba5363ea8476178b8c429b292e536d495eba8ea0c4411ef31bed2e467963 WHIRLPOOL b96056b4cbea8f61712fd36a65cc76393a52294164e1cde4efa9494deffe8470da2d497008f3cd10a5486c9368ca5af66d98a9ee74ebdab249dc044386c2f30d diff --git a/sys-devel/gcc-arm-embedded-bin/gcc-arm-embedded-bin-4.9_p20150306.ebuild b/sys-devel/gcc-arm-embedded-bin/gcc-arm-embedded-bin-4.9_p20150306.ebuild new file mode 100644 index 0000000..9f666dd --- /dev/null +++ b/sys-devel/gcc-arm-embedded-bin/gcc-arm-embedded-bin-4.9_p20150306.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +DESCRIPTION="Pre-built GNU toolchain from ARM Cortex-M & Cortex-R processors (Cortex-M0/M0+/M3/M4, Cortex-R4/R5/R7)." +HOMEPAGE="https://launchpad.net/gcc-arm-embedded" +SRC_URI="https://launchpad.net/gcc-arm-embedded/4.9/4.9-2015-q1-update/+download/gcc-arm-none-eabi-4_9-2015q1-20150306-linux.tar.bz2" + +LICENSE="BSD GPL GPL-2 LGPL-2 LGPL-3 MIT NEWLIB ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~x86 -*" +IUSE="doc samples" +RESTRICT="strip binchecks" + +DEPEND="" +RDEPEND="amd64? ( sys-libs/glibc[multilib] )" + +S="${WORKDIR}"/gcc-arm-none-eabi-4_9-2015q1 + +src_install() { + if ! use samples ; then + rm -rf "${S}"/share/gcc-arm-none-eabi/samples + fi + if ! use doc ; then + rm -rf "${S}"/share/doc + fi + + dodir /opt/${PN} + cp -r "${S}"/* "${ED}"/opt/${PN} || die "cp failed" + fowners -R root:0 /opt/${PN} + + local DEST=/opt/${PN} + cat > "${T}/env" << EOF +PATH=${DEST}/bin +ROOTPATH=${DEST}/bin +LDPATH=${DEST}/lib +MANPATH=${DEST}/share/doc/arm-arm-none-eabi/man +EOF + newenvd "${T}/env" 99gcc-arm-embedded-bin +} + +pkg_postinst() { + env-update +} |