mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-17 20:30:58 +02:00
gcc-arm-none-eabi: migrate ncurses
This commit is contained in:
parent
19fb43ad73
commit
bf27dd72b3
5 changed files with 2 additions and 97 deletions
|
|
@ -18,7 +18,7 @@ SLOT="0"
|
|||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND+="sys-libs/ncurses:5"
|
||||
RDEPEND+="sys-libs/ncurses-compat"
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -C ext/libv8 extconf.rb || die "extconf failed"
|
||||
|
|
|
|||
|
|
@ -1,3 +1 @@
|
|||
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
|
||||
|
|
|
|||
|
|
@ -1,48 +0,0 @@
|
|||
# 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
|
||||
}
|
||||
|
|
@ -1,45 +0,0 @@
|
|||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
#8-2019q3
|
||||
|
||||
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
|
||||
}
|
||||
|
|
@ -21,7 +21,7 @@ RESTRICT="strip"
|
|||
QA_PREBUILT="*"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="sys-libs/ncurses:5
|
||||
RDEPEND="sys-libs/ncurses-compat
|
||||
dev-lang/python:2.7"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
Loading…
Reference in a new issue