summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2016-08-25 22:14:10 -0400
committerTim Harder <radhermit@gentoo.org>2016-08-25 22:15:55 -0400
commitb95ab4aba4d0c71f66b4e59b8485f21d769a71c4 (patch)
treeb49ace17cf718b31f75d04082276bc2aecdf431f /dev-embedded
parentdev-embedded/u-boot-tools: remove old (diff)
downloadgentoo-b95ab4aba4d0c71f66b4e59b8485f21d769a71c4.tar.gz
gentoo-b95ab4aba4d0c71f66b4e59b8485f21d769a71c4.tar.bz2
gentoo-b95ab4aba4d0c71f66b4e59b8485f21d769a71c4.zip
dev-embedded/mspdebug: version bump to 0.24
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/mspdebug/Manifest1
-rw-r--r--dev-embedded/mspdebug/mspdebug-0.24.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-embedded/mspdebug/Manifest b/dev-embedded/mspdebug/Manifest
index 71497ac621d..7a1bc1a46fe 100644
--- a/dev-embedded/mspdebug/Manifest
+++ b/dev-embedded/mspdebug/Manifest
@@ -1,2 +1,3 @@
DIST mspdebug-0.22.tar.gz 230959 SHA256 9a0550f3c7911bcc4e3231fff652c8f14763eb6a945609ce715db7164bf76c55 SHA512 e5b573c05da70fc325538a2a4a9c916c939eb3e1a1f6162bacc83aa6be09b1219343efae07fcbcae8ee0803739763003b4f6cb08e739237df312bb854b3c43fa WHIRLPOOL 3354718964732b3766e09105e86ea7300129ebf7cc915635a2305b301b02d854ebebbb79aae9baed52d4e6761178beca0c8bba09aa506b2d4e191181137f4b70
DIST mspdebug-0.23.tar.gz 322556 SHA256 e4db9ac519d5989aa48e43e92f04a6821a5dc7dff8c8b3795508a77ec4edde84 SHA512 460aebeeec94778a399edab000fdbd3d09d0a939ea67a846166208eb5cf3a7b727c0cac35d5a03e50743ca735951c1e89b4943141eb43b1d82fd773975def6ee WHIRLPOOL 2c23dd4729ea4c5fe526b0739e9532dbf983b23119d1df7fc6bacdd2319a03f7bffd7d48ebf2ee4ab99475553d9e6201ab2bcc97d831eab615d734ddd75dea3d
+DIST mspdebug-0.24.tar.gz 329321 SHA256 ace77951dc36227bbc4d5df1c33c1e5de833cccded33aa2a322c831bd8f8c146 SHA512 443731defe48de0c5c16faa42855c31583c125edcd4c35fca7234556e7d5f8f1b12e0fabe2d07442671426d6e2a03058f615a0f1dc5b016c32b961b34c35973c WHIRLPOOL b02fa54304be67bd6ec12200315a5f453e9d58600f01d3001c8a689b35480fd8eaa3c6aa5108d68923e1afa432ba3e89273a1e5f116ec07f1f4f0eafd64f18c2
diff --git a/dev-embedded/mspdebug/mspdebug-0.24.ebuild b/dev-embedded/mspdebug/mspdebug-0.24.ebuild
new file mode 100644
index 00000000000..c68fe438711
--- /dev/null
+++ b/dev-embedded/mspdebug/mspdebug-0.24.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="A free debugger for use with MSP430 MCUs"
+HOMEPAGE="http://dlbeer.co.nz/mspdebug/ https://github.com/dlbeer/mspdebug"
+SRC_URI="https://github.com/dlbeer/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="readline"
+
+DEPEND="readline? ( sys-libs/readline:0= )
+ virtual/libusb:0"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ default
+ sed -i "s:-O1 \(.*\) -ggdb:\1:" Makefile || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" LIBDIR=/usr/lib $(usex readline "" "WITHOUT_READLINE=1")
+}
+
+src_install() {
+ emake DESTDIR="${ED}" LIBDIR=/usr/lib PREFIX=/usr install
+ dodoc AUTHORS ChangeLog README
+}