From 6116b107a65a6e2c3640edcdec74ad905080fe20 Mon Sep 17 00:00:00 2001 From: Tim Harder Date: Thu, 15 Sep 2011 05:32:01 +0000 Subject: Initial import from the msp430 overlay. Package-Manager: portage-2.2.0_alpha55/cvs/Linux x86_64 --- dev-embedded/msp430-libc/ChangeLog | 10 +++++ dev-embedded/msp430-libc/Manifest | 18 +++++++++ dev-embedded/msp430-libc/metadata.xml | 9 +++++ .../msp430-libc/msp430-libc-20110612.ebuild | 43 ++++++++++++++++++++++ 4 files changed, 80 insertions(+) create mode 100644 dev-embedded/msp430-libc/ChangeLog create mode 100644 dev-embedded/msp430-libc/Manifest create mode 100644 dev-embedded/msp430-libc/metadata.xml create mode 100644 dev-embedded/msp430-libc/msp430-libc-20110612.ebuild (limited to 'dev-embedded/msp430-libc') diff --git a/dev-embedded/msp430-libc/ChangeLog b/dev-embedded/msp430-libc/ChangeLog new file mode 100644 index 000000000000..fc4e4f273444 --- /dev/null +++ b/dev-embedded/msp430-libc/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-embedded/msp430-libc +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430-libc/ChangeLog,v 1.1 2011/09/15 05:32:01 radhermit Exp $ + +*msp430-libc-20110612 (15 Sep 2011) + + 15 Sep 2011; Tim Harder +msp430-libc-20110612.ebuild, + +metadata.xml: + Initial import from the msp430 overlay. + diff --git a/dev-embedded/msp430-libc/Manifest b/dev-embedded/msp430-libc/Manifest new file mode 100644 index 000000000000..0a5175e50fbc --- /dev/null +++ b/dev-embedded/msp430-libc/Manifest @@ -0,0 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA512 + +DIST msp430-libc-20110612.tar.bz2 76622 RMD160 38702f720c551a9fefb6ca0259f7979253442b30 SHA1 4e44f4320254ecbb38e516ab9933532a19fdd5eb SHA256 4dbfc97d1ef20c3ac65b16398f6f1557ee480b9c5030bb9e94f5e718f0953271 +EBUILD msp430-libc-20110612.ebuild 1028 RMD160 596d9d61ef4af3b47469124baede3331890f2bd2 SHA1 d9c8e3da91eaec3db88679472335c3965d614d8a SHA256 e5b22268b6267237701400e01eecb1017a255fd4a8286c69224cd56872708914 +MISC ChangeLog 400 RMD160 db228555346a763cdc2381caf80d327c6044a665 SHA1 6f812ae140dff58359c40d1f0d70d4efabff364b SHA256 670e1d1bf8b71a5aee6139e3ea5b720ed9e8e58eff2bd038ba4a1ea59b3bc93f +MISC metadata.xml 259 RMD160 082a83a7fe1b7bc7d5058d54d4d3fe8804bbb5ed SHA1 3ff6b1e5c2e927609b426798611f0d5cf28a3fd2 SHA256 817fb0befe31f4dff07f8ff548ae60b1719bc491ca7338dfb0642f406de3c7d2 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.18 (GNU/Linux) + +iQEcBAEBCgAGBQJOcY3XAAoJEEqz6FtPBkyjoOcIALLwBMPf2zfJ0iASmbrmEBiQ +i44UIFZhjLK4obXsi3R6AK0SGodL8Bp74LkzWZ5lfwUTAHZEim/UPnohkyXteGUz +Zz++GqMiOwvUTO0+WpevS5eEaeeWzc9HSgcdYviXJv9bw/izOfn8coEKy7KnDHHy +DlxiDp7fqrqyk/pfBpCkCqLB/J7l648ztJlS55SOJDAKDE+0ApSK3lxwq6zBXaBI +NF+M7AQp6X8tETArgSSdkCrtZV9X4ovUiXo9SmiqrSC2Szql1b/ixfX5BtqhiyAO +AsoVDAObFOXGzB8nill9Xpppzj5M3tFJnqQv07SZNQnCSBScUXXZ6tYT2mtELi0= +=SSzR +-----END PGP SIGNATURE----- diff --git a/dev-embedded/msp430-libc/metadata.xml b/dev-embedded/msp430-libc/metadata.xml new file mode 100644 index 000000000000..dd22bfef8ca6 --- /dev/null +++ b/dev-embedded/msp430-libc/metadata.xml @@ -0,0 +1,9 @@ + + + + dev-embedded + + radhermit@gentoo.org + Tim Harder + + diff --git a/dev-embedded/msp430-libc/msp430-libc-20110612.ebuild b/dev-embedded/msp430-libc/msp430-libc-20110612.ebuild new file mode 100644 index 000000000000..d6333d3191c7 --- /dev/null +++ b/dev-embedded/msp430-libc/msp430-libc-20110612.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430-libc/msp430-libc-20110612.ebuild,v 1.1 2011/09/15 05:32:01 radhermit Exp $ + +EAPI="4" + +CHOST="msp430" +CTARGET="msp430" + +DESCRIPTION="C library for MSP430 microcontrollers" +HOMEPAGE="http://mspgcc.sourceforge.net" +SRC_URI="mirror://sourceforge/mspgcc/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="crosscompile_opts_headers-only" + +DEPEND=">=sys-devel/crossdev-0.9.1" +[[ ${CATEGORY/cross-} != ${CATEGORY} ]] \ + && RDEPEND="!dev-embedded/msp430-libc" \ + || RDEPEND="" + +S="${WORKDIR}/${P}/src" + +pkg_setup() { + ebegin "Checking for msp430-gcc" + if type -p msp430-gcc > /dev/null ; then + eend 0 + else + eend 1 + + eerror + eerror "Failed to locate 'msp430-gcc' in \$PATH. You can install a MSP430 toolchain using:" + eerror " $ crossdev -t msp430" + eerror + die "MSP430 toolchain not found" + fi +} + +src_install() { + emake PREFIX="${D}"/usr install +} -- cgit v1.2.3-65-gdbad