summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2018-06-25 14:15:48 -0400
committerTim Harder <radhermit@gentoo.org>2018-06-25 14:44:45 -0400
commit72fbb33dd015bacfdc2246ad8c2aaee73eb8d8af (patch)
tree248f4f16146f27c817d42fb66077f5c228d6dd50 /dev-embedded/mspdebug
parentdev-embedded/u-boot-tools: version bump to 2018.05 (diff)
downloadgentoo-72fbb33dd015bacfdc2246ad8c2aaee73eb8d8af.tar.gz
gentoo-72fbb33dd015bacfdc2246ad8c2aaee73eb8d8af.tar.bz2
gentoo-72fbb33dd015bacfdc2246ad8c2aaee73eb8d8af.zip
dev-embedded/mspdebug: version bump to 0.25
Diffstat (limited to 'dev-embedded/mspdebug')
-rw-r--r--dev-embedded/mspdebug/Manifest1
-rw-r--r--dev-embedded/mspdebug/mspdebug-0.25.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-embedded/mspdebug/Manifest b/dev-embedded/mspdebug/Manifest
index 05106b94fa91..210b62130b1e 100644
--- a/dev-embedded/mspdebug/Manifest
+++ b/dev-embedded/mspdebug/Manifest
@@ -1,2 +1,3 @@
DIST mspdebug-0.23.tar.gz 322556 BLAKE2B 9a1cad1955d1122f932e322e5115fb373275a36a8fc1c9cde9867ece0efa2cd98926ca90b2be7a328d96f2a883cb4ab3843a1eddbf2c48707809bb6f42169bb9 SHA512 460aebeeec94778a399edab000fdbd3d09d0a939ea67a846166208eb5cf3a7b727c0cac35d5a03e50743ca735951c1e89b4943141eb43b1d82fd773975def6ee
DIST mspdebug-0.24.tar.gz 329321 BLAKE2B 398fad64be73ab60d3dbfb37ee1eaaaaf478521c3fb4fd8bdf90918ea7d4d4be3d5426f803900032372eddcb2342d0002996436e62eca3cdba3dcd82a5ad2cd4 SHA512 443731defe48de0c5c16faa42855c31583c125edcd4c35fca7234556e7d5f8f1b12e0fabe2d07442671426d6e2a03058f615a0f1dc5b016c32b961b34c35973c
+DIST mspdebug-0.25.tar.gz 333878 BLAKE2B d2104e49d904a057858bd7c3b48977b57f9e315c2a188428af4d492560d0c479ae77302ec313da1a264ef47cdaf108dae13ac75e952b6fb23bbafb024c19283c SHA512 5eba1d4fa6773daa89cccd8eb1964a5dfd5fb5e6719769ab6241c71010aca05c43217a8fcb6bebe1c2d9f58824f1dda5787f27b2e119f0d086eb9ae40e7fca90
diff --git a/dev-embedded/mspdebug/mspdebug-0.25.ebuild b/dev-embedded/mspdebug/mspdebug-0.25.ebuild
new file mode 100644
index 000000000000..a4ff1ba9081b
--- /dev/null
+++ b/dev-embedded/mspdebug/mspdebug-0.25.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="A free debugger for use with MSP430 MCUs"
+HOMEPAGE="https://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
+}