1 |
commit: 2dda3a7e38b518a9658ef776bcdaa72150e1c253 |
2 |
Author: David Michael <fedora.dm0 <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Apr 24 16:50:55 2021 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 24 16:50:55 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dda3a7e |
7 |
|
8 |
sys-firmware/b43legacy-firmware: EAPI 7 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/785271 |
11 |
Package-Manager: Portage-3.0.17, Repoman-3.0.2 |
12 |
Signed-off-by: David Michael <fedora.dm0 <AT> gmail.com> |
13 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
14 |
|
15 |
.../b43legacy-firmware-3.130.20.0.ebuild | 27 ++++++++-------------- |
16 |
1 file changed, 10 insertions(+), 17 deletions(-) |
17 |
|
18 |
diff --git a/sys-firmware/b43legacy-firmware/b43legacy-firmware-3.130.20.0.ebuild b/sys-firmware/b43legacy-firmware/b43legacy-firmware-3.130.20.0.ebuild |
19 |
index 3223244208f..bd6e809ba08 100644 |
20 |
--- a/sys-firmware/b43legacy-firmware/b43legacy-firmware-3.130.20.0.ebuild |
21 |
+++ b/sys-firmware/b43legacy-firmware/b43legacy-firmware-3.130.20.0.ebuild |
22 |
@@ -1,37 +1,30 @@ |
23 |
-# Copyright 1999-2019 Gentoo Authors |
24 |
+# Copyright 1999-2021 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
-EAPI=5 |
28 |
+EAPI=7 |
29 |
|
30 |
-: ${B43_FIRMWARE_SRC_OBJ:=${A}} |
31 |
- |
32 |
-MY_P="broadcom-wl-${PV}" |
33 |
DESCRIPTION="broadcom firmware for b43legacy/bcm43xx" |
34 |
HOMEPAGE="http://linuxwireless.org/en/users/Drivers/b43" |
35 |
SRC_URI="http://downloads.openwrt.org/sources/wl_apsta-${PV}.o" |
36 |
- |
37 |
-RESTRICT="binchecks bindist strip" |
38 |
+S="${WORKDIR}" |
39 |
|
40 |
LICENSE="Broadcom" |
41 |
-SLOT=0 |
42 |
+SLOT="0" |
43 |
KEYWORDS="amd64 ppc x86" |
44 |
-IUSE="" |
45 |
- |
46 |
-RDEPEND="" |
47 |
-DEPEND=">=net-wireless/b43-fwcutter-012" |
48 |
+RESTRICT="binchecks bindist strip" |
49 |
|
50 |
-S=${WORKDIR} |
51 |
+BDEPEND=">=net-wireless/b43-fwcutter-012" |
52 |
|
53 |
src_unpack() { |
54 |
- cp "${DISTDIR}/${A}" "${WORKDIR}" || die |
55 |
+ cp "${DISTDIR}/${A}" "${WORKDIR}/wl_apsta.o" || die |
56 |
} |
57 |
|
58 |
src_compile() { |
59 |
- mkdir ebuild-output |
60 |
- b43-fwcutter -w ebuild-output $(find -name ${B43_FIRMWARE_SRC_OBJ}) || die |
61 |
+ mkdir ebuild-output || die |
62 |
+ b43-fwcutter -w ebuild-output wl_apsta.o || die |
63 |
} |
64 |
|
65 |
src_install() { |
66 |
insinto /lib/firmware |
67 |
- doins -r ebuild-output/* |
68 |
+ doins -r ebuild-output/. |
69 |
} |