mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-20 22:01:11 +02:00
gcc-arm-none-eabi: fix installation path so it works
This commit is contained in:
parent
94513e322c
commit
c606f96199
1 changed files with 10 additions and 4 deletions
|
|
@ -3,16 +3,15 @@
|
|||
|
||||
EAPI=7
|
||||
|
||||
|
||||
#MY_P="${PN}-8-2019-q3-major"
|
||||
#upstream is inconsistent here
|
||||
MY_P="${PN}-8-2019-q3-update"
|
||||
#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/${MY_PV}/${MY_P}-linux.tar.bz2 )
|
||||
SRC_URI="amd64? ( https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/8-2019q3/RC1.1/gcc-arm-none-eabi-8-2019-q3-update-linux.tar.bz2 )"
|
||||
SRC_URI="amd64? ( https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/8-2019q3/RC1.1/${MY_P}-linux.tar.bz2 )"
|
||||
|
||||
LICENSE="BSD GPL-2 LGPL-2 LGPL-3 MIT NEWLIB ZLIB"
|
||||
SLOT="0"
|
||||
|
|
@ -41,3 +40,10 @@ 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
|
||||
}
|
||||
Loading…
Reference in a new issue