Lines 1-11
Link Here
|
1 |
# Copyright 1999-2019 Gentoo Authors |
1 |
# Copyright 1999-2021 Gentoo Authors |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
|
3 |
|
4 |
EAPI=5 |
4 |
EAPI=7 |
5 |
|
5 |
|
6 |
: ${B43_FIRMWARE_SRC_OBJ:=${A}} |
|
|
7 |
|
8 |
MY_P="broadcom-wl-${PV}" |
9 |
DESCRIPTION="broadcom firmware for b43legacy/bcm43xx" |
6 |
DESCRIPTION="broadcom firmware for b43legacy/bcm43xx" |
10 |
HOMEPAGE="http://linuxwireless.org/en/users/Drivers/b43" |
7 |
HOMEPAGE="http://linuxwireless.org/en/users/Drivers/b43" |
11 |
SRC_URI="http://downloads.openwrt.org/sources/wl_apsta-${PV}.o" |
8 |
SRC_URI="http://downloads.openwrt.org/sources/wl_apsta-${PV}.o" |
Lines 13-34
SRC_URI="http://downloads.openwrt.org/sources/wl_apsta-${PV}.o"
Link Here
|
13 |
RESTRICT="binchecks bindist strip" |
10 |
RESTRICT="binchecks bindist strip" |
14 |
|
11 |
|
15 |
LICENSE="Broadcom" |
12 |
LICENSE="Broadcom" |
16 |
SLOT=0 |
13 |
SLOT="0" |
17 |
KEYWORDS="amd64 ppc x86" |
14 |
KEYWORDS="amd64 ppc x86" |
18 |
IUSE="" |
|
|
19 |
|
15 |
|
20 |
RDEPEND="" |
16 |
BDEPEND=">=net-wireless/b43-fwcutter-012" |
21 |
DEPEND=">=net-wireless/b43-fwcutter-012" |
|
|
22 |
|
17 |
|
23 |
S=${WORKDIR} |
18 |
S="${WORKDIR}" |
24 |
|
19 |
|
25 |
src_unpack() { |
20 |
src_unpack() { |
26 |
cp "${DISTDIR}/${A}" "${WORKDIR}" || die |
21 |
cp "${DISTDIR}/${A}" "${WORKDIR}/wl_apsta.o" || die |
27 |
} |
22 |
} |
28 |
|
23 |
|
29 |
src_compile() { |
24 |
src_compile() { |
30 |
mkdir ebuild-output |
25 |
mkdir ebuild-output |
31 |
b43-fwcutter -w ebuild-output $(find -name ${B43_FIRMWARE_SRC_OBJ}) || die |
26 |
b43-fwcutter -w ebuild-output wl_apsta.o || die |
32 |
} |
27 |
} |
33 |
|
28 |
|
34 |
src_install() { |
29 |
src_install() { |
35 |
- |
|
|