gcc-arm-none-eabi: 4.9 with no keywords because I need it for nanovna

This commit is contained in:
Rick Farina (Zero_Chaos) 2019-08-28 17:21:13 -04:00
parent 53505ab01a
commit 9e64b3f9ac
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
2 changed files with 49 additions and 0 deletions

View file

@ -1,2 +1,3 @@
DIST gcc-arm-none-eabi-4_9-2015q3-20150921-linux.tar.bz2 73710332 BLAKE2B bcd2766228617b90649d4fe61700243ace2b179396182540863eed7d4c76651b70d3fd16c9150249b7cbe93fcecc3ee0eb2ebe91aa91bc74ccac9e4c9970cfc6 SHA512 1048c9e2db47027772e04b1b458990d9d76c2bb1310d4a0f7599c928240b2d5b27831031ee9cae4c0e1dc1109b40afb5712ed6387935c7055edd6cb3a93f03f0
DIST gcc-arm-none-eabi-8-2018-q4-major-linux.tar.bz2 107253352 BLAKE2B 0ceb3f3f2c5e362f042c6d8ee62c5dfe855b63030b156bbb81ac9e842f443e72f553b2d828aa72fa078680cfefb9e7fdab2dbdbb54601d1b26773310e2d671b2 SHA512 34ad1c68efa2540bba2764c37b2a51237a3dd86026b66141afe5beee7e254d0c1579292d42b38510e3ccf6e06f6758ff8ce4f8b25907b2f72e983e9fa373b75a
DIST gcc-arm-none-eabi-8-2019-q3-update-linux.tar.bz2 106566166 BLAKE2B 792ef07a2a3a58a2618d0c1336efb67dd8a63b34699cbafdddc3191f4fd6fd6b26174e8405b76987905f546e45f871fbd3faad2e54d2da7e993a1d22bd90b5a1 SHA512 90638b2cff6a53d11e9c98e1ac4324e8fa10bc9d9a4d65c64ad5ba1e916e8dc2ace1e79724ec0a2c4149aa6be652f3a1cf7fbe132f3bd92e5cc37d4e01a24255

View file

@ -0,0 +1,48 @@
# 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}-4_9-2015q3"
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://launchpad.net/gcc-arm-embedded/4.9/4.9-2015-q3-update/+download/gcc-arm-none-eabi-4_9-2015q3-20150921-linux.tar.bz2 )"
LICENSE="BSD GPL-2 LGPL-2 LGPL-3 MIT NEWLIB ZLIB"
SLOT="4.9"
#KEYWORDS="~amd64"
IUSE=""
RESTRICT="strip"
QA_PREBUILT="*"
DEPEND=""
RDEPEND="sys-libs/ncurses:5
dev-lang/python:2.7"
S="${WORKDIR}/${MY_P}"
src_install() {
local DEST=/opt/${PN}${SLOT}
dodir ${DEST}
\cp -r "${S}"/* "${ED}"/${DEST}
fowners -R root:0 ${DEST}
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" 49gcc-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
}