1 |
commit: a6792f90710bceabe300f85694f0ca3545b799b4 |
2 |
Author: Rick Farina <zerochaos <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 23 16:11:51 2019 +0000 |
4 |
Commit: Rick Farina <zerochaos <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 23 16:20:00 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6792f90 |
7 |
|
8 |
net-wireless/hackrf-tools: install easy flash for live |
9 |
|
10 |
Package-Manager: Portage-2.3.76, Repoman-2.3.17 |
11 |
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org> |
12 |
|
13 |
net-wireless/hackrf-tools/hackrf-tools-9999.ebuild | 6 ++++-- |
14 |
1 file changed, 4 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/net-wireless/hackrf-tools/hackrf-tools-9999.ebuild b/net-wireless/hackrf-tools/hackrf-tools-9999.ebuild |
17 |
index 667c6b35b87..57c39931426 100644 |
18 |
--- a/net-wireless/hackrf-tools/hackrf-tools-9999.ebuild |
19 |
+++ b/net-wireless/hackrf-tools/hackrf-tools-9999.ebuild |
20 |
@@ -1,7 +1,7 @@ |
21 |
-# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Copyright 1999-2019 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
-EAPI=6 |
26 |
+EAPI=7 |
27 |
|
28 |
inherit cmake-utils |
29 |
|
30 |
@@ -30,6 +30,7 @@ RDEPEND="${DEPEND}" |
31 |
|
32 |
src_install() { |
33 |
cmake-utils_src_install |
34 |
+ dosbin "${FILESDIR}/hackrf_easy_flash" |
35 |
if [[ ${PV} != "9999" ]] ; then |
36 |
insinto /usr/share/hackrf |
37 |
newins "${WORKDIR}/hackrf-${PV}/firmware-bin/hackrf_jawbreaker_usb.bin" hackrf_jawbreaker_usb-${PV}.bin |
38 |
@@ -43,5 +44,6 @@ src_install() { |
39 |
ln -s hackrf_one_usb-${PV}.dfu "${ED}/usr/share/hackrf/hackrf_one_usb.dfu" |
40 |
else |
41 |
ewarn "The compiled firmware files are only available in the versioned releases, you are on your own for this." |
42 |
+ ewarn "A hackrf-firmware ebuild is available in the pentoo overlay, if you feel adventurous." |
43 |
fi |
44 |
} |