diff options
author | Tim Harder <radhermit@gentoo.org> | 2011-09-15 05:23:02 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2011-09-15 05:23:02 +0000 |
commit | 62c1bf0bd4fb2ec50d7298c0a42d707885eca430 (patch) | |
tree | e3e659679963602d46576fe3ed470b5d8e37234d /dev-embedded | |
parent | Stable for HPPA (bug #369573). (diff) | |
download | historical-62c1bf0bd4fb2ec50d7298c0a42d707885eca430.tar.gz historical-62c1bf0bd4fb2ec50d7298c0a42d707885eca430.tar.bz2 historical-62c1bf0bd4fb2ec50d7298c0a42d707885eca430.zip |
Initial import from the msp430 overlay.
Package-Manager: portage-2.2.0_alpha55/cvs/Linux x86_64
Diffstat (limited to 'dev-embedded')
-rw-r--r-- | dev-embedded/msp430mcu/ChangeLog | 10 | ||||
-rw-r--r-- | dev-embedded/msp430mcu/Manifest | 19 | ||||
-rw-r--r-- | dev-embedded/msp430mcu/files/msp430mcu-20110613-install.patch | 31 | ||||
-rw-r--r-- | dev-embedded/msp430mcu/metadata.xml | 9 | ||||
-rw-r--r-- | dev-embedded/msp430mcu/msp430mcu-20110613.ebuild | 24 |
5 files changed, 93 insertions, 0 deletions
diff --git a/dev-embedded/msp430mcu/ChangeLog b/dev-embedded/msp430mcu/ChangeLog new file mode 100644 index 000000000000..d3d7aee9e405 --- /dev/null +++ b/dev-embedded/msp430mcu/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-embedded/msp430mcu +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430mcu/ChangeLog,v 1.1 2011/09/15 05:23:02 radhermit Exp $ + +*msp430mcu-20110613 (15 Sep 2011) + + 15 Sep 2011; Tim Harder <radhermit@gentoo.org> +msp430mcu-20110613.ebuild, + +files/msp430mcu-20110613-install.patch, +metadata.xml: + Initial import from the msp430 overlay. + diff --git a/dev-embedded/msp430mcu/Manifest b/dev-embedded/msp430mcu/Manifest new file mode 100644 index 000000000000..cc8a4ee577e0 --- /dev/null +++ b/dev-embedded/msp430mcu/Manifest @@ -0,0 +1,19 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA512 + +AUX msp430mcu-20110613-install.patch 1130 RMD160 b52bc481fe21ff6dd037e59144f649f5bea5d07c SHA1 5cac6dec04a4c0e5bcb0b27f1c3c2a4e5bcb86dd SHA256 e9740749dfbad49984b0deb917ecf874a2f4f6db74a2a8dca460a492c1c7e892 +DIST msp430mcu-20110613.tar.bz2 3014406 RMD160 234c5bea0a345c78daba9b60445ff3393b7f572d SHA1 79904ac0c1852c6846cadbb21a0cb77a47adcdcd SHA256 954abc20d3997c8b6f63abcd7c683034b26435c537c0aa086c94e13d95e1b004 +EBUILD msp430mcu-20110613.ebuild 608 RMD160 463bb655b9105f267139af0014682b3d8eaa46e4 SHA1 1d2c16e15dfb6e4fa7361ef2e607ae9dfda7717b SHA256 2a22a06df59820004ff9c7b680afac859b788a2c8cf0d50f218be3b26da1f805 +MISC ChangeLog 433 RMD160 37e74225f024c258002da95d2545fdb6f2c241c0 SHA1 12787d181457f430133023f95aa2a78f0471628e SHA256 e46404b98fa671d6a851ac9e25c6f67c69fe22274c932c57b12cc2b9a1da9305 +MISC metadata.xml 259 RMD160 082a83a7fe1b7bc7d5058d54d4d3fe8804bbb5ed SHA1 3ff6b1e5c2e927609b426798611f0d5cf28a3fd2 SHA256 817fb0befe31f4dff07f8ff548ae60b1719bc491ca7338dfb0642f406de3c7d2 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.18 (GNU/Linux) + +iQEcBAEBCgAGBQJOcYvIAAoJEEqz6FtPBkyj0tcIAJOX20sDRTfdY0ZAOe/knLXM +XaPnou6NqmMeK8evstGR9h3Z05KVdOKytuRIFoES5u11+XUzd5ZGb44HYBkLRAHp +7U999pBx6LRsFocDiFe6wdsGGOBE9sRJZ6aWttsnkMcLTXcArkO5N7p8pH4WYL55 +qJewZCmCsJGQmXOwNwih0husuOR0/3VdukbHkGiG3vIa0mD4KW5yHAT9LjQ8UtMh +3Jn830v0/pOi2PUgtUy7pKrcFcDNvtw9AuJZRdGOAhmJ0YdKXUspzjUu/S6NGuH5 +muLu2n8gjjNge6G11vTVMn237gXrBo0pYAqS71+0KrIrUMswZyClgkQN8W4A2QA= +=rxy5 +-----END PGP SIGNATURE----- diff --git a/dev-embedded/msp430mcu/files/msp430mcu-20110613-install.patch b/dev-embedded/msp430mcu/files/msp430mcu-20110613-install.patch new file mode 100644 index 000000000000..8063756bb5fb --- /dev/null +++ b/dev-embedded/msp430mcu/files/msp430mcu-20110613-install.patch @@ -0,0 +1,31 @@ +--- msp430mcu-20110613/scripts/install.sh.orig ++++ msp430mcu-20110613/scripts/install.sh +@@ -3,7 +3,6 @@ + # Copyright (c) 2011, Peter A. Bigot, licensed under New BSD (see COPYING) + # This file is part of msp430mcu (http://sourceforge.net/projects/mspgcc/) + +-PREFIX=${1:-/msp430/install/dev} + MSP430MCU_ROOT=${MSP430MCU_ROOT:-${MSP430_ROOT:-/msp430}/msp430mcu} + UPSTREAM=${MSP430MCU_ROOT}/upstream + ANALYSIS=${MSP430MCU_ROOT}/analysis +@@ -15,16 +14,16 @@ + mkdir -p ${INCPATH} ${LIBPATH} + + # Upstream headers +-install -p ${UPSTREAM}/*.h ${INCPATH} ++install -m 644 ${UPSTREAM}/*.h ${INCPATH} + + # Local override headers +-install -p ${MSP430MCU_ROOT}/include/*.h ${INCPATH} ++install -m 644 ${MSP430MCU_ROOT}/include/*.h ${INCPATH} + + # Override msp430.h to accommodate legacy MSPGCC MCU identifiers +-install -p ${ANALYSIS}/msp430.h ${INCPATH} ++install -m 644 ${ANALYSIS}/msp430.h ${INCPATH} + + # MCU-specific data for GCC driver program +-install -p ${ANALYSIS}/msp430mcu.spec ${LIBPATH} ++install -m 644 ${ANALYSIS}/msp430mcu.spec ${LIBPATH} + + # Install MCU-specific memory and periph maps + cp -pr ${ANALYSIS}/ldscripts ${LIBPATH} diff --git a/dev-embedded/msp430mcu/metadata.xml b/dev-embedded/msp430mcu/metadata.xml new file mode 100644 index 000000000000..dd22bfef8ca6 --- /dev/null +++ b/dev-embedded/msp430mcu/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/msp430mcu/msp430mcu-20110613.ebuild b/dev-embedded/msp430mcu/msp430mcu-20110613.ebuild new file mode 100644 index 000000000000..bab1696e37cf --- /dev/null +++ b/dev-embedded/msp430mcu/msp430mcu-20110613.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430mcu/msp430mcu-20110613.ebuild,v 1.1 2011/09/15 05:23:02 radhermit Exp $ + +EAPI="4" + +inherit eutils + +DESCRIPTION="MCU-specific data for MSP430 microcontrollers" +HOMEPAGE="http://mspgcc.sourceforge.net" +SRC_URI="mirror://sourceforge/mspgcc/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +src_prepare() { + epatch "${FILESDIR}"/${P}-install.patch +} + +src_install() { + MSP430MCU_ROOT="${S}" PREFIX="${D}/usr" ./scripts/install.sh +} |