gcc-arm-none-eabi: 9.2019.4 bump

This commit is contained in:
blshkv 2019-11-11 13:24:42 +08:00
parent 2c3c539cfc
commit f4c63c7e85
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
2 changed files with 53 additions and 0 deletions

View file

@ -1 +1,2 @@
DIST gcc-arm-none-eabi-8-2019-q3-update-linux.tar.bz2 106566166 BLAKE2B 792ef07a2a3a58a2618d0c1336efb67dd8a63b34699cbafdddc3191f4fd6fd6b26174e8405b76987905f546e45f871fbd3faad2e54d2da7e993a1d22bd90b5a1 SHA512 90638b2cff6a53d11e9c98e1ac4324e8fa10bc9d9a4d65c64ad5ba1e916e8dc2ace1e79724ec0a2c4149aa6be652f3a1cf7fbe132f3bd92e5cc37d4e01a24255
DIST gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2 116802378 BLAKE2B 9977e751aa457812c6401bdcdc963342a92595af0b7fbf4fb13e429c2f475752ee5b1d53d0774a31452131d3c6b3cfec188cff2933e6a12da27c206c5b78a561 SHA512 268da568baf608a0a101ed9dc752bc1fe072391477c49fa1bdb584bce912d51c7552a34d07301fac2adce449cefc905b35c358ce27b39637ce263bc089ed5202

View file

@ -0,0 +1,52 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
#upstream is inconsistent here
MY_P="${PN}-9-2019-q4-major"
#MY_PV="8-2019q3"
DESCRIPTION="GNU Arm Embedded Toolchain"
HOMEPAGE="https://developer.arm.com/open-source/gnu-toolchain/gnu-rm"
#amd64 binary is available only
SRC_URI="amd64? ( https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/9-2019q4/RC2.1/${MY_P}-x86_64-linux.tar.bz2 )"
# https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/9-2019q4/RC2.1/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2
#https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/RC2.1/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2?revision=6e63531f-8cb1-40b9-bbfc-8a57cdfc01b4&la=en&hash=F761343D43A0587E8AC0925B723C04DBFB848339
#arm 64 https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/RC2.1/gcc-arm-none-eabi-9-2019-q4-major-aarch64-linux.tar.bz2?revision=490085f7-6fa7-49d0-b860-f437916e05eb&la=en&hash=568E0D184DE11F1FE02538BABB850CA41BC7C1CD
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-compat
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
}
pkg_postinst() {
if [[ -z "${REPLACING_VERSIONS}" ]] ; then
elog "Before use you should run 'env-update' and '. /etc/profile'"
elog "otherwise you may be missing important environmental variables."
fi
}