diff options
author | 2013-09-27 16:53:07 +0200 | |
---|---|---|
committer | 2013-09-27 16:53:07 +0200 | |
commit | 7d52a6a43a766970b83b3541333b33957daadd40 (patch) | |
tree | a94005e28e4328017ed8ff05864af99a10c6cd44 | |
parent | updated jlink (diff) | |
download | andy-7d52a6a43a766970b83b3541333b33957daadd40.tar.gz andy-7d52a6a43a766970b83b3541333b33957daadd40.tar.bz2 andy-7d52a6a43a766970b83b3541333b33957daadd40.zip |
added gcc-arm-embedded toolchain from launchpad
-rw-r--r-- | sys-devel/gcc-arm-embedded-bin/Manifest | 2 | ||||
-rw-r--r-- | sys-devel/gcc-arm-embedded-bin/gcc-arm-embedded-bin-4.7_p20130916.ebuild | 39 |
2 files changed, 41 insertions, 0 deletions
diff --git a/sys-devel/gcc-arm-embedded-bin/Manifest b/sys-devel/gcc-arm-embedded-bin/Manifest new file mode 100644 index 0000000..ab68427 --- /dev/null +++ b/sys-devel/gcc-arm-embedded-bin/Manifest @@ -0,0 +1,2 @@ +DIST gcc-arm-none-eabi-4_7-2013q3-20130916-linux.tar.bz2 59548217 SHA256 0d10891d3a3b0b4c340650d576d62c016670e4dec166e06f16b60384535ca9ad SHA512 7af7f20e52858ffd373bf1aa6a9b1f49ef4e8907b41ae1008eb36b0bbe8d6038267a85294511ac93d35acb8e8796608b8d1aa6131cd3c9dfa8b4c6c1273a18ea WHIRLPOOL 819b333e5734cc173a5703c1b05628c5e9a8a8eef9a396312756d78af7b84b9ff15ece96c5891a30e3218e62d8a9f4b3a0b67e0611c5fd19cda5378e53d42634 +EBUILD gcc-arm-embedded-bin-4.7_p20130916.ebuild 912 SHA256 32c42310716f4cb6a7bfefb998818f68255e50d32fcd36f52b236e06f2d7f3f3 SHA512 8a6233bb471d30d75387eb7845d8fec93ca15ed1086051401c28aff47a4640e15cf05048d7e02e72bfa7afb72677855944c0f8593f10a2afae00c559ff68f4dc WHIRLPOOL bf6dafac010c4dbd2a04b9e62b8ea52d5f417c7b276fcd85112aa16cd6a55b69fdfd4822deced8c520786d850f03248ec09682dddfec07f635a8d3952f74b79a diff --git a/sys-devel/gcc-arm-embedded-bin/gcc-arm-embedded-bin-4.7_p20130916.ebuild b/sys-devel/gcc-arm-embedded-bin/gcc-arm-embedded-bin-4.7_p20130916.ebuild new file mode 100644 index 0000000..2e93238 --- /dev/null +++ b/sys-devel/gcc-arm-embedded-bin/gcc-arm-embedded-bin-4.7_p20130916.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +DESCRIPTION="GNU Tools for ARM Embedded Processors" +HOMEPAGE="https://launchpad.net/gcc-arm-embedded/+download" +SRC_URI="https://launchpad.net/gcc-arm-embedded/4.7/4.7-2013-q3-update/+download/gcc-arm-none-eabi-4_7-2013q3-20130916-linux.tar.bz2" + +LICENSE="BSD GPL GPL-2 LGPL-2 LGPL-3 MIT NEWLIB ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~x86 -*" +IUSE="" +RESTRICT="strip binchecks" + +DEPEND="" +RDEPEND="${DEPEND}" + +S="${WORKDIR}"/gcc-arm-none-eabi-4_7-2013q3/ + +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() { + env-update +} |