diff options
Diffstat (limited to 'dev-embedded/sgpp-lite-arm-eabi-bin')
-rw-r--r-- | dev-embedded/sgpp-lite-arm-eabi-bin/Manifest | 2 | ||||
-rw-r--r-- | dev-embedded/sgpp-lite-arm-eabi-bin/sgpp-lite-arm-eabi-bin-2014.05.28.ebuild | 49 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-embedded/sgpp-lite-arm-eabi-bin/Manifest b/dev-embedded/sgpp-lite-arm-eabi-bin/Manifest index 4f14a220d849..94860ca0f037 100644 --- a/dev-embedded/sgpp-lite-arm-eabi-bin/Manifest +++ b/dev-embedded/sgpp-lite-arm-eabi-bin/Manifest @@ -1,3 +1,5 @@ DIST arm-2010.09-51-arm-none-eabi-i686-pc-linux-gnu.tar.bz2 36851462 BLAKE2B 8f44b1e64365fb88bd924862e8a98383dec81680dc7d4c6019132d6cb84e701345d247594037951e7da8bf6c1e46dba528bbd3b8901bd4e172487bb1d562e403 SHA512 0de319596f83e62be9a786ebf02fb2830d0ea97acb1f01ba4f7f99f4aadfa12731bd1121bc885a4d97a948bc8131b66c91c62614b4ea8223553bf9a60a551002 +DIST arm-2014.05-28-arm-none-eabi-i686-pc-linux-gnu.tar.bz2 46454460 BLAKE2B be5e9170eaeb0a6bb140cd505507f7dc43431001d5d94a2851d57c0009fc0535e9779713f9eb35c840698909d1c006ffc300fce372856d032c8b40b9b9bcc4e2 SHA512 16104dd05f26ad3d8ab7c09c55409bbd9507ebc4b023344049b343fafb1ecafb3625bc33937ad5498abeaefd5745b5123b669a2d500eeaaafdc5e8c50ee15570 EBUILD sgpp-lite-arm-eabi-bin-2010.09.51.ebuild 1165 BLAKE2B 17b6d0e0fde9b6ff0dad815a785366fed10bc766eb333bd919d605303e4e37786ac89c9eaff6b6bf6214b3ab457538cd1fdb11801b4b69ef74990a4f43704105 SHA512 18f296b28b1a4b1af81327b72ea94cefb574fd3bfd05d07e969fda0a8cae20fcc29c6ee43a154d895116bae5c2ca1d042395633659adeb0399fd7c677d1f2e04 +EBUILD sgpp-lite-arm-eabi-bin-2014.05.28.ebuild 1173 BLAKE2B d5abe048c17d7cccb1422e90419d5b5095f7f0caf1133b7e20b886e3f1d46ddaf559dc6567e0f1346c690e8aafe0fbec69834b67334592517c7a91727ff4ee9f SHA512 9971b11ec845cfd04c651b9dad9271ddb64cf2aea9cdb8e16c8019438d8c8c43fe101e256d71e445b984e4e3ba7ac7df9fdc87fa10bfeddbc9ae11ff2e1d8bcc MISC metadata.xml 247 BLAKE2B e46b8f2d053251af5cb591bb2ee5e35089c4e8174ee2e7a3c504db23f844b65083d4a3e5198da3977ad3e98b67cab2e0de686a3c62009b487c1e64785a8ff65d SHA512 15df289e0f962f564551f61ada3cfef0311f6af639887def780bf5ad3be105515c8d24c950ff340ed35d89b9cd994af3540322b684c5dec3b43ec6bb0041aa4e diff --git a/dev-embedded/sgpp-lite-arm-eabi-bin/sgpp-lite-arm-eabi-bin-2014.05.28.ebuild b/dev-embedded/sgpp-lite-arm-eabi-bin/sgpp-lite-arm-eabi-bin-2014.05.28.ebuild new file mode 100644 index 000000000000..9918951ab607 --- /dev/null +++ b/dev-embedded/sgpp-lite-arm-eabi-bin/sgpp-lite-arm-eabi-bin-2014.05.28.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +CPU="arm" +TARGET="arm-none-eabi" +HOST="i686-pc-linux-gnu" +MY_P="${CPU}-${PV%.*}-${PV##*.}-${TARGET}-${HOST}" + +DESCRIPTION="Regular, validated releases of the GNU Toolchain for ${CPU} processors" +HOMEPAGE="http://www.codesourcery.com/sgpp/lite/${CPU}" +SRC_URI="https://sourcery.mentor.com/public/gnu_toolchain/${TARGET}/${MY_P}.tar.bz2" +LICENSE="GPL-2" + +SLOT="${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="doc" +RESTRICT="strip" # package is already stripped, and contains target bins +QA_EXECSTACK="opt/${P}/*" + +RDEPEND="sys-libs/glibc" +DEPEND="" + +S=${WORKDIR}/${CPU}-${PV%.*} + +src_install() { + local d="/opt/${P}" + dodir ${d} + cp -pPR * "${D}"/${d}/ || die + + pushd "${D}"/${d}/share/doc/${CPU}-${TARGET} >/dev/null + if use doc ; then + dohtml -r html/* || die + dodoc pdf/* || die + fi + rm -rf html pdf + rm LICENSE.txt man/man7/{fsf-funding,gpl,gfdl}.7 || die + mv man info ../.. + popd >/dev/null + find "${D}" -depth -type d -empty -delete + + cat <<-EOF > "${T}"/15${P} + PATH=${d}/bin + MANPATH=${d}/share/man + INFOPATH=${d}/share/info + EOF + doenvd "${T}"/15${P} || die +} |