1 |
commit: 8d881a77e4e4ed28561ab21abc39b1b2ff972b3b |
2 |
Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 1 11:44:52 2023 +0000 |
4 |
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 1 13:41:28 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d881a77 |
7 |
|
8 |
dev-embedded/mspdebug: update EAPI 6 -> 8 |
9 |
|
10 |
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org> |
11 |
|
12 |
dev-embedded/mspdebug/mspdebug-0.25-r1.ebuild | 33 +++++++++++++++++++++++++++ |
13 |
1 file changed, 33 insertions(+) |
14 |
|
15 |
diff --git a/dev-embedded/mspdebug/mspdebug-0.25-r1.ebuild b/dev-embedded/mspdebug/mspdebug-0.25-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 000000000000..1b68b8fafadc |
18 |
--- /dev/null |
19 |
+++ b/dev-embedded/mspdebug/mspdebug-0.25-r1.ebuild |
20 |
@@ -0,0 +1,33 @@ |
21 |
+# Copyright 1999-2023 Gentoo Authors |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=8 |
25 |
+ |
26 |
+inherit toolchain-funcs |
27 |
+ |
28 |
+DESCRIPTION="A free debugger for use with MSP430 MCUs" |
29 |
+HOMEPAGE="https://dlbeer.co.nz/mspdebug/ https://github.com/dlbeer/mspdebug" |
30 |
+SRC_URI="https://github.com/dlbeer/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
31 |
+ |
32 |
+LICENSE="GPL-2" |
33 |
+SLOT="0" |
34 |
+KEYWORDS="~amd64 ~arm ~x86" |
35 |
+IUSE="readline" |
36 |
+ |
37 |
+DEPEND="readline? ( sys-libs/readline:0= ) |
38 |
+ virtual/libusb:0" |
39 |
+RDEPEND="${DEPEND}" |
40 |
+ |
41 |
+src_prepare() { |
42 |
+ default |
43 |
+ sed -i "s:-O1 \(.*\) -ggdb:\1:" Makefile || die |
44 |
+} |
45 |
+ |
46 |
+src_compile() { |
47 |
+ emake CC="$(tc-getCC)" LIBDIR=/usr/$(get_libdir) $(usex readline "" "WITHOUT_READLINE=1") |
48 |
+} |
49 |
+ |
50 |
+src_install() { |
51 |
+ emake DESTDIR="${ED}" LIBDIR=/usr/$(get_libdir) PREFIX=/usr install |
52 |
+ einstalldocs |
53 |
+} |