gcc-arm-none-eabi: v8.2018.4 bump

This commit is contained in:
blshkv 2018-12-23 13:57:38 +08:00
parent 765f103d7e
commit 22aab7150b
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
2 changed files with 44 additions and 0 deletions

View file

@ -1 +1,2 @@
DIST gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2 100600407 BLAKE2B d234392b924a1a52d04d858519ab541a2c32dc52a79479d6930b3ab310c39ede0c42fddf6fc950fb364a9781ff19f42791ae958f74608d0295be7d63d4b31668 SHA512 052ea750631675d6b7a005d0cdb8eca7db73b600165f7a3f3c52e46764e7729b6aa5efd2b90ff1f81e4d22314cbdfae1e02ebd39808c3223052ca8de756dbd46
DIST gcc-arm-none-eabi-8-2018-q4-major-linux.tar.bz2 107253352 BLAKE2B 0ceb3f3f2c5e362f042c6d8ee62c5dfe855b63030b156bbb81ac9e842f443e72f553b2d828aa72fa078680cfefb9e7fdab2dbdbb54601d1b26773310e2d671b2 SHA512 34ad1c68efa2540bba2764c37b2a51237a3dd86026b66141afe5beee7e254d0c1579292d42b38510e3ccf6e06f6758ff8ce4f8b25907b2f72e983e9fa373b75a

View file

@ -0,0 +1,43 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_P="${PN}-8-2018-q4-major"
MY_PV="8-2018q4"
DESCRIPTION="GNU Arm Embedded Toolchain"
HOMEPAGE="https://developer.arm.com/open-source/gnu-toolchain/gnu-rm"
#amd64 available only
#SRC_URI="amd64? ( https://developer.arm.com/-/media/Files/downloads/gnu-rm/8-2018q4/gcc-arm-none-eabi-8-2018-q4-major-linux.tar.bz2 )
SRC_URI="amd64? ( https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/${MY_PV}/${MY_P}-linux.tar.bz2 )
"
LICENSE="BSD GPL-2 LGPL-2 LGPL-3 MIT NEWLIB ZLIB"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RESTRICT="strip"
QA_PREBUILT="*"
DEPEND=""
RDEPEND="sys-libs/ncurses:5
dev-lang/python:2.7"
S="${WORKDIR}/${MY_P}"
src_install() {
dodir /opt/${PN}
\cp -r "${S}"/* "${ED}"/opt/${PN}
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
}