diff options
-rw-r--r-- | dev-embedded/msp430-gcc/ChangeLog | 8 | ||||
-rw-r--r-- | dev-embedded/msp430-gcc/msp430-gcc-4.6.1_p20120125.ebuild | 28 | ||||
-rw-r--r-- | dev-embedded/msp430-libc/ChangeLog | 7 | ||||
-rw-r--r-- | dev-embedded/msp430-libc/msp430-libc-20120125.ebuild | 43 |
4 files changed, 84 insertions, 2 deletions
diff --git a/dev-embedded/msp430-gcc/ChangeLog b/dev-embedded/msp430-gcc/ChangeLog index 2696a1dd7053..31e145ad3985 100644 --- a/dev-embedded/msp430-gcc/ChangeLog +++ b/dev-embedded/msp430-gcc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-embedded/msp430-gcc # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430-gcc/ChangeLog,v 1.3 2012/01/22 19:44:21 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430-gcc/ChangeLog,v 1.4 2012/02/03 07:43:28 radhermit Exp $ + +*msp430-gcc-4.6.1_p20120125 (03 Feb 2012) + + 03 Feb 2012; Tim Harder <radhermit@gentoo.org> + +msp430-gcc-4.6.1_p20120125.ebuild: + Version bump. *msp430-gcc-4.6.1_p20120119 (22 Jan 2012) diff --git a/dev-embedded/msp430-gcc/msp430-gcc-4.6.1_p20120125.ebuild b/dev-embedded/msp430-gcc/msp430-gcc-4.6.1_p20120125.ebuild new file mode 100644 index 000000000000..2ed021e32d18 --- /dev/null +++ b/dev-embedded/msp430-gcc/msp430-gcc-4.6.1_p20120125.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430-gcc/msp430-gcc-4.6.1_p20120125.ebuild,v 1.1 2012/02/03 07:43:28 radhermit Exp $ + +EAPI="4" + +PATCH_VER="1.0" +BRANCH_UPDATE="" + +inherit toolchain + +DESCRIPTION="The GNU Compiler Collection for MSP430 microcontrollers" +LICENSE="GPL-3 LGPL-3 || ( GPL-3 libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.2" +KEYWORDS="~amd64 ~x86" +SRC_URI="${SRC_URI} http://dev.gentoo.org/~radhermit/distfiles/${P}.patch.bz2" + +RDEPEND="" +DEPEND="${RDEPEND} + elibc_glibc? ( >=sys-libs/glibc-2.8 ) + ${CATEGORY}/msp430-binutils" + +pkg_pretend() { + is_crosscompile || die "Only cross-compile builds are supported" +} + +src_prepare() { + epatch "${DISTDIR}"/${P}.patch.bz2 +} diff --git a/dev-embedded/msp430-libc/ChangeLog b/dev-embedded/msp430-libc/ChangeLog index 1b62a40b5069..d04416b018a0 100644 --- a/dev-embedded/msp430-libc/ChangeLog +++ b/dev-embedded/msp430-libc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-embedded/msp430-libc # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430-libc/ChangeLog,v 1.4 2012/01/22 19:24:06 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430-libc/ChangeLog,v 1.5 2012/02/03 07:40:12 radhermit Exp $ + +*msp430-libc-20120125 (03 Feb 2012) + + 03 Feb 2012; Tim Harder <radhermit@gentoo.org> +msp430-libc-20120125.ebuild: + Version bump. *msp430-libc-20120119 (22 Jan 2012) diff --git a/dev-embedded/msp430-libc/msp430-libc-20120125.ebuild b/dev-embedded/msp430-libc/msp430-libc-20120125.ebuild new file mode 100644 index 000000000000..3ac54c98603c --- /dev/null +++ b/dev-embedded/msp430-libc/msp430-libc-20120125.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430-libc/msp430-libc-20120125.ebuild,v 1.1 2012/02/03 07:40:12 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" +[[ ${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 +} |