dev-embedded/mspdebug: version bump
authorTim Harder <radhermit@gentoo.org>
Tue, 25 Aug 2015 04:13:49 +0000 (00:13 -0400)
committerTim Harder <radhermit@gentoo.org>
Tue, 25 Aug 2015 04:29:59 +0000 (00:29 -0400)
dev-embedded/mspdebug/Manifest
dev-embedded/mspdebug/mspdebug-0.23.ebuild [new file with mode: 0644]

index dac385bbd7b19553cb4ae4939be60a7b78081836..5bf6465400f060fbf6a23d5318e2ad2a49a32990 100644 (file)
@@ -1,3 +1,4 @@
 DIST mspdebug-0.20.tar.gz 182144 SHA256 4514305994ad8962d5568652f74d6c26357f192583d8840fbf2f3c62dd3bff04 SHA512 64ec9e8abede54ae92a9073971efeb4beeeb419bf1cbda998cc1327820838f7f452381712638e7f03ae71ec62e3459929a0d52a868f2732e4e9c529f8662e996 WHIRLPOOL 5616d0992278bd90eca78e605239b5f090809307f3acd9f94946795ab06c3363798c3d94d82fc983959c2ece1c2b1f0c6ffeb2678468a62617dff98bad1b57df
 DIST mspdebug-0.21.tar.gz 228413 SHA256 37c0c83851e1ff7048012c733e21cd2fe5bef21f67814a462c6a7049dc709988 SHA512 ac12d7a22c905db0d192e52c43bfd5ee13ee47aa99ef7fd3ec4f8b53c231e43ad6437a41655603cd407ac766189009aeee6fafe842ac34fddd0b06408c08e761 WHIRLPOOL 84f274d44f25fffb6aa4e856aded3a943b1359bc51fa9d77de7aa916fedb18e759c734154b2a7c4439703866e97ba7958554c83e310f49aa562265c6e1c22132
 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
diff --git a/dev-embedded/mspdebug/mspdebug-0.23.ebuild b/dev-embedded/mspdebug/mspdebug-0.23.ebuild
new file mode 100644 (file)
index 0000000..c3680b3
--- /dev/null
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit toolchain-funcs eutils
+
+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() {
+       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
+}