summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-09-15 05:32:01 +0000
committerTim Harder <radhermit@gentoo.org>2011-09-15 05:32:01 +0000
commit6116b107a65a6e2c3640edcdec74ad905080fe20 (patch)
treeebddaf7a71c3ede792087103502a600ff3133a32 /dev-embedded/msp430-libc
parentBig leechcraft bump, 0.4.90 (diff)
downloadhistorical-6116b107a65a6e2c3640edcdec74ad905080fe20.tar.gz
historical-6116b107a65a6e2c3640edcdec74ad905080fe20.tar.bz2
historical-6116b107a65a6e2c3640edcdec74ad905080fe20.zip
Initial import from the msp430 overlay.
Package-Manager: portage-2.2.0_alpha55/cvs/Linux x86_64
Diffstat (limited to 'dev-embedded/msp430-libc')
-rw-r--r--dev-embedded/msp430-libc/ChangeLog10
-rw-r--r--dev-embedded/msp430-libc/Manifest18
-rw-r--r--dev-embedded/msp430-libc/metadata.xml9
-rw-r--r--dev-embedded/msp430-libc/msp430-libc-20110612.ebuild43
4 files changed, 80 insertions, 0 deletions
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 <radhermit@gentoo.org> +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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>dev-embedded</herd>
+ <maintainer>
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+</pkgmetadata>
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
+}