diff options
author | Tim Harder <radhermit@gentoo.org> | 2012-02-03 07:43:28 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2012-02-03 07:43:28 +0000 |
commit | a892024a77b14b69aceefc6da1b71df60e880591 (patch) | |
tree | aa7a4a874999bf059ff61e2a88f4ade83338f268 /dev-embedded/msp430-libc | |
parent | Version bump. (diff) | |
download | historical-a892024a77b14b69aceefc6da1b71df60e880591.tar.gz historical-a892024a77b14b69aceefc6da1b71df60e880591.tar.bz2 historical-a892024a77b14b69aceefc6da1b71df60e880591.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64
Diffstat (limited to 'dev-embedded/msp430-libc')
-rw-r--r-- | dev-embedded/msp430-libc/ChangeLog | 7 | ||||
-rw-r--r-- | dev-embedded/msp430-libc/msp430-libc-20120125.ebuild | 43 |
2 files changed, 49 insertions, 1 deletions
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 +} |