summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-12-25 05:36:21 +0000
committerTim Harder <radhermit@gentoo.org>2011-12-25 05:36:21 +0000
commit184b0b50864ee2ed8edfa5bb4baaa78522cf6370 (patch)
tree6a37222a680532979a28a9157b4adbc7e61e0a0e /dev-embedded
parentudev now needs >=sys-apps/util-linux-2.20 (diff)
downloadgentoo-2-184b0b50864ee2ed8edfa5bb4baaa78522cf6370.tar.gz
gentoo-2-184b0b50864ee2ed8edfa5bb4baaa78522cf6370.tar.bz2
gentoo-2-184b0b50864ee2ed8edfa5bb4baaa78522cf6370.zip
Version bump.
(Portage version: 2.2.0_alpha81/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-20111224.ebuild43
2 files changed, 49 insertions, 1 deletions
diff --git a/dev-embedded/msp430-libc/ChangeLog b/dev-embedded/msp430-libc/ChangeLog
index 941cf3356f39..55271e8a32c1 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-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430-libc/ChangeLog,v 1.2 2011/12/05 22:14:11 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430-libc/ChangeLog,v 1.3 2011/12/25 05:36:21 radhermit Exp $
+
+*msp430-libc-20111224 (25 Dec 2011)
+
+ 25 Dec 2011; Tim Harder <radhermit@gentoo.org> +msp430-libc-20111224.ebuild:
+ Version bump.
*msp430-libc-20111205 (05 Dec 2011)
diff --git a/dev-embedded/msp430-libc/msp430-libc-20111224.ebuild b/dev-embedded/msp430-libc/msp430-libc-20111224.ebuild
new file mode 100644
index 000000000000..a268d2ec2a8c
--- /dev/null
+++ b/dev-embedded/msp430-libc/msp430-libc-20111224.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-20111224.ebuild,v 1.1 2011/12/25 05:36:21 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
+}