summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-02-18 03:13:47 +0000
committerTim Harder <radhermit@gentoo.org>2011-02-18 03:13:47 +0000
commit64d59b3362afcee88198a6e51733cad1f231fb9e (patch)
tree7ceee524a38904c6991155bc9d65db0c59b4be74 /dev-embedded/mspdebug
parentVersion bump; add a logrotate file so that logs don't fill in your disk. (diff)
downloadgentoo-2-64d59b3362afcee88198a6e51733cad1f231fb9e.tar.gz
gentoo-2-64d59b3362afcee88198a6e51733cad1f231fb9e.tar.bz2
gentoo-2-64d59b3362afcee88198a6e51733cad1f231fb9e.zip
Version bump. Update to EAPI 4.
(Portage version: 2.2.0_alpha24/cvs/Linux x86_64)
Diffstat (limited to 'dev-embedded/mspdebug')
-rw-r--r--dev-embedded/mspdebug/ChangeLog9
-rw-r--r--dev-embedded/mspdebug/mspdebug-0.14.ebuild36
2 files changed, 43 insertions, 2 deletions
diff --git a/dev-embedded/mspdebug/ChangeLog b/dev-embedded/mspdebug/ChangeLog
index 9d9e769be4e0..32c5fb00319b 100644
--- a/dev-embedded/mspdebug/ChangeLog
+++ b/dev-embedded/mspdebug/ChangeLog
@@ -1,6 +1,11 @@
# 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 $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/mspdebug/ChangeLog,v 1.2 2011/02/18 03:13:47 radhermit Exp $
+
+*mspdebug-0.14 (18 Feb 2011)
+
+ 18 Feb 2011; Tim Harder <radhermit@gentoo.org> +mspdebug-0.14.ebuild:
+ Version bump. Update to EAPI 4.
*mspdebug-0.13 (26 Nov 2010)
diff --git a/dev-embedded/mspdebug/mspdebug-0.14.ebuild b/dev-embedded/mspdebug/mspdebug-0.14.ebuild
new file mode 100644
index 000000000000..a9f4206bcb9f
--- /dev/null
+++ b/dev-embedded/mspdebug/mspdebug-0.14.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/mspdebug/mspdebug-0.14.ebuild,v 1.1 2011/02/18 03:13:47 radhermit Exp $
+
+EAPI=4
+
+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 )
+ virtual/libusb:0"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ sed -i -e "s:-O1 \(.*\) -ggdb:\1:" Makefile
+}
+
+src_compile() {
+ local myflags
+ ! use readline && myflags="WITHOUT_READLINE=1"
+
+ emake CC=$(tc-getCC) ${myflags}
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install
+ dodoc AUTHORS ChangeLog
+}