summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-embedded/msp430-binutils/msp430-binutils-2.21.1_p20120119.ebuild')
-rw-r--r--dev-embedded/msp430-binutils/msp430-binutils-2.21.1_p20120119.ebuild22
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-embedded/msp430-binutils/msp430-binutils-2.21.1_p20120119.ebuild b/dev-embedded/msp430-binutils/msp430-binutils-2.21.1_p20120119.ebuild
new file mode 100644
index 000000000000..959832ff6492
--- /dev/null
+++ b/dev-embedded/msp430-binutils/msp430-binutils-2.21.1_p20120119.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/msp430-binutils/msp430-binutils-2.21.1_p20120119.ebuild,v 1.1 2012/01/22 19:40:13 radhermit Exp $
+
+PATCHVER="1.4"
+
+BINUTILS_VER=${PV%_p*}
+
+inherit toolchain-binutils
+
+DESCRIPTION="Tools necessary to build programs for MSP430 microcontrollers"
+SRC_URI+=" http://dev.gentoo.org/~radhermit/distfiles/${P}.patch.bz2"
+
+KEYWORDS="~amd64 ~x86"
+
+pkg_setup() {
+ is_cross || die "Only cross-compile builds are supported"
+}
+
+PATCHES=(
+ "${WORKDIR}"/${P}.patch
+)