added gcc-arm-embedded-bin 6.0 ebuild

master
S.J.R. van Schaik 7 years ago
parent 5d0742ec27
commit 7dd6d681c3
  1. 2
      sys-devel/gcc-arm-embedded-bin/Manifest
  2. 46
      sys-devel/gcc-arm-embedded-bin/gcc-arm-embedded-bin-6.0.ebuild

@ -1,4 +1,6 @@
DIST gcc-arm-none-eabi-4_9-2015q1-20150306-linux.tar.bz2 74404999 SHA256 c5e0025b065750bbd76b5357b4fc8606d88afbac9ff55b8a82927b4b96178154 SHA512 0e551c4159fd2fe29c8124396eab9856628426be76c2a5b06f503e7401f30c71d6fbccced2af24859a83c2ec78c28f5e50d79c5112d96d087f6d07b68ce73917 WHIRLPOOL 2aacc75be764126873311397aee6d630751bc54f0174e7efb3f7f404879084cbe7db87b55beb83368fedf30467dc5cf2825ac8b8c6239bd9e64a8c4cafe45143
DIST gcc-arm-none-eabi-5_4-2016q3-20160926-linux.tar.bz2 92820662 SHA256 a397c49bdd0cf17a38a494cb691baf68b8dcffa4d4c06561ef3d71b2ab4c92a1 SHA512 ec290fcb99249fcb2e7a53799a1d3f45da64ed8952ca5604221a85c610dcd8e8ca13db2048dc861f1dda4c904f8e5f9caeb774cb651742e6e1a72b0e4bd8d980 WHIRLPOOL 47a7b0e380876163f56c517bcd5379e4577b64215eee17a614c1536a5afba2a4e3938a185bff3bfe3e1167ce762a8528345636f8be37392015d02cf5bf0de38f
DIST gcc-arm-none-eabi-6-2017-q2-update-linux.tar.bz2 100554551 SHA256 e68e4b2fe348ecb567c27985355dff75b65319a0f6595d44a18a8c5e05887cc3 SHA512 771f141de27266843a5a4ca05f21bf91cba74769d1d19df8d69bb304a486b3cf744e89d0a80eff695d6077cc2b9c6c6b2bddc9f374936c8a188660d9970ee628 WHIRLPOOL 8feea3bd1ffc755632e6a1793cc6461846ac218dceac851eb59d39ff7ba4d1cc3c2511d30ab2430909e3f7c44f9c10b7a29e4991fac1cb9b678ff268584d791b
EBUILD gcc-arm-embedded-bin-4.9_p20150306.ebuild 1151 SHA256 17aa0cc3095afae32677efbfac5b3c7eb71421600fcd7065a12251054a5e4f95 SHA512 e09df7bd9d6e8d80872fbbb5e0350b3fd3d4b1b6e53cc8797b3bdf1626e5db43d565ba5363ea8476178b8c429b292e536d495eba8ea0c4411ef31bed2e467963 WHIRLPOOL b96056b4cbea8f61712fd36a65cc76393a52294164e1cde4efa9494deffe8470da2d497008f3cd10a5486c9368ca5af66d98a9ee74ebdab249dc044386c2f30d
EBUILD gcc-arm-embedded-bin-5.4_p20160926.ebuild 1149 SHA256 874480c072a94aedbea8a1e1e04e5f62a47d7814fd766c7800ef287bc8aab207 SHA512 ed6ca5803a272b72cdc650fa6160af503906926974b3710761b98ab5750ae9aee7d61e9436315372e17d1801dcd27fa591391e06e3a865f46a0b8e147acf729c WHIRLPOOL 21616b6f5296104b38010bd1439b94e57755cbdc6f407ed86350d85f502205804c0dda3b573b1dbefaf06009bcda27049566e1b57dd45608d4cf9494574fbda3
EBUILD gcc-arm-embedded-bin-6.0.ebuild 1162 SHA256 e86f65157cb6147252b9c9920f6ad2cc5d7c445244fbc204abd6ac33dff4a07b SHA512 4d17801cbe55d79e2012f1fd622ca7b33acabf8beb9b0593092b2bf8d74b3d0962b3e63d73805f91effbd3753848b154642cfcee34025c4e3ed3084898a892b5 WHIRLPOOL 639743a7e674a84440a1277b3d476d730dee33fef6da329310bf2e4a3cf42d0cf0916198a35daed7b39995bf9b945554282dd437cd63f9f7c24e6726b5104c33

@ -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://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/6-2017q2/gcc-arm-none-eabi-6-2017-q2-update-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-6-2017-q2-update
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
}
Loading…
Cancel
Save