summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-04-28 10:01:08 +0000
committerTim Harder <radhermit@gentoo.org>2012-04-28 10:01:08 +0000
commitec99e0674fbe038f7b9becedfd04aa3bd708a15c (patch)
tree5e6a2e6d9caeb1c4fcf91ca98f13b3c2874f1584 /dev-embedded
parentapp-text/bibus: Version Bump including detection of libreoffice, #394537 than... (diff)
downloadgentoo-2-ec99e0674fbe038f7b9becedfd04aa3bd708a15c.tar.gz
gentoo-2-ec99e0674fbe038f7b9becedfd04aa3bd708a15c.tar.bz2
gentoo-2-ec99e0674fbe038f7b9becedfd04aa3bd708a15c.zip
Version bump.
(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/msp430-libc/ChangeLog7
-rw-r--r--dev-embedded/msp430-libc/msp430-libc-20120425.ebuild43
2 files changed, 49 insertions, 1 deletions
diff --git a/dev-embedded/msp430-libc/ChangeLog b/dev-embedded/msp430-libc/ChangeLog
index 44151b3b3998..f2ba5e7cc0c2 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.7 2012/03/25 08:25:58 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430-libc/ChangeLog,v 1.8 2012/04/28 10:01:08 radhermit Exp $
+
+*msp430-libc-20120425 (28 Apr 2012)
+
+ 28 Apr 2012; Tim Harder <radhermit@gentoo.org> +msp430-libc-20120425.ebuild:
+ Version bump.
25 Mar 2012; Tim Harder <radhermit@gentoo.org> -msp430-libc-20110612.ebuild,
-msp430-libc-20111205.ebuild, -msp430-libc-20111224.ebuild,
diff --git a/dev-embedded/msp430-libc/msp430-libc-20120425.ebuild b/dev-embedded/msp430-libc/msp430-libc-20120425.ebuild
new file mode 100644
index 000000000000..ffc1f636a514
--- /dev/null
+++ b/dev-embedded/msp430-libc/msp430-libc-20120425.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-20120425.ebuild,v 1.1 2012/04/28 10:01:08 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
+}