Install this version:
emerge -a =dev-embedded/mspdebug-0.25
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-embedded/mspdebug-0.25
Or alternatively:
emerge --autounmask-write -a =dev-embedded/mspdebug-0.25
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
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/$(get_libdir) $(usex readline "" "WITHOUT_READLINE=1")
}
src_install() {
emake DESTDIR="${ED}" LIBDIR=/usr/$(get_libdir) PREFIX=/usr install
einstalldocs
}
Manage flags for this package:
euse -i <flag> -p dev-embedded/mspdebug |
euse -E <flag> -p dev-embedded/mspdebug |
euse -D <flag> -p dev-embedded/mspdebug
readline? ( sys-libs/readline:0= ) virtual/libusb:0
readline? ( sys-libs/readline:0= ) virtual/libusb:0
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | mspdebug-0.25.tar.gz | 333878 bytes | https://github.com/dlbeer/mspdebug/archive/v0.25.tar.gz |