summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2010-11-26 07:53:55 +0000
committerTim Harder <radhermit@gentoo.org>2010-11-26 07:53:55 +0000
commit0b9a485ef0e3af2586653d4e47ac5f5b019bbb89 (patch)
tree04b080b1d648d36ffe9886fe0af390cee27b90e4 /dev-embedded
parentAdd blocker for x11-libs/libast wrt bug 277649. Cosmetics (diff)
downloadgentoo-2-0b9a485ef0e3af2586653d4e47ac5f5b019bbb89.tar.gz
gentoo-2-0b9a485ef0e3af2586653d4e47ac5f5b019bbb89.tar.bz2
gentoo-2-0b9a485ef0e3af2586653d4e47ac5f5b019bbb89.zip
Initial import.
(Portage version: 2.2.0_alpha5/cvs/Linux x86_64)
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/mspdebug/ChangeLog10
-rw-r--r--dev-embedded/mspdebug/metadata.xml15
-rw-r--r--dev-embedded/mspdebug/mspdebug-0.13.ebuild35
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-embedded/mspdebug/ChangeLog b/dev-embedded/mspdebug/ChangeLog
new file mode 100644
index 000000000000..9d9e769be4e0
--- /dev/null
+++ b/dev-embedded/mspdebug/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-embedded/mspdebug
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/mspdebug/ChangeLog,v 1.1 2010/11/26 07:53:55 radhermit Exp $
+
+*mspdebug-0.13 (26 Nov 2010)
+
+ 26 Nov 2010; Tim Harder <radhermit@gentoo.org> +mspdebug-0.13.ebuild,
+ +metadata.xml:
+ Initial import.
+
diff --git a/dev-embedded/mspdebug/metadata.xml b/dev-embedded/mspdebug/metadata.xml
new file mode 100644
index 000000000000..de426cd566e8
--- /dev/null
+++ b/dev-embedded/mspdebug/metadata.xml
@@ -0,0 +1,15 @@
+<?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>
+ <longdescription>
+ MSPDebug is a free debugger for use with MSP430 MCUs. It supports
+ FET430UIF, eZ430, RF2500, and Olimex MSP-JTAG-TINY programmers. It can be
+ used as a proxy for gdb or as an independent debugger with support for
+ programming, disassembly, and reverse engineering.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-embedded/mspdebug/mspdebug-0.13.ebuild b/dev-embedded/mspdebug/mspdebug-0.13.ebuild
new file mode 100644
index 000000000000..811d7cb40139
--- /dev/null
+++ b/dev-embedded/mspdebug/mspdebug-0.13.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/mspdebug/mspdebug-0.13.ebuild,v 1.1 2010/11/26 07:53:55 radhermit Exp $
+
+EAPI="3"
+
+inherit toolchain-funcs
+
+DESCRIPTION="A free debugger for use with MSP430 MCUs"
+HOMEPAGE="http://mspdebug.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="readline"
+
+DEPEND="readline? ( sys-libs/readline )
+ dev-libs/libusb:0"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ local myflags
+
+ if ! use readline; then
+ myflags="WITHOUT_READLINE=1"
+ fi
+
+ emake CC=$(tc-getCC) ${myflags} || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install || die "emake install failed"
+ dodoc AUTHORS ChangeLog
+}