gentoo/sys-firmware/b43legacy-firmware/b43legacy-firmware-3.130.20.0.ebuild
Rick Farina 324777439a
sys-firmware/b43legacy-firmware: update EAPI 7 -> 8
Closes: https://bugs.gentoo.org/824566
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
2025-09-11 21:34:23 -04:00

31 lines
693 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="broadcom firmware for b43legacy/bcm43xx"
HOMEPAGE="https://wireless.docs.kernel.org/en/latest/en/users/drivers/b43.html"
SRC_URI="http://downloads.openwrt.org/sources/wl_apsta-${PV}.o"
S="${WORKDIR}"
LICENSE="Broadcom"
SLOT="0"
KEYWORDS="amd64 ppc x86"
RESTRICT="binchecks bindist strip"
BDEPEND=">=net-wireless/b43-fwcutter-012"
src_unpack() {
cp "${DISTDIR}/${A}" "${WORKDIR}/wl_apsta.o" || die
}
src_compile() {
mkdir ebuild-output || die
b43-fwcutter -w ebuild-output wl_apsta.o || die
}
src_install() {
insinto /lib/firmware
doins -r ebuild-output/.
}