blob: b193b13d56fd5aff614073bcc6e0f7f171b2d7fd (
plain) (
tree)
|
|
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PV_AN="0027"
PV_PA="0051"
DESCRIPTION="BIOS core for Intel NUC Kits"
HOMEPAGE="https://www.intel.com/content/www/us/en/download-center/home.html"
SRC_URI="https://downloadmirror.intel.com/782088/AN${PV_AN}.CAP -> AN${PV_AN}.cap
https://downloadmirror.intel.com/779451/PA${PV_PA}.CAP -> PA${PV_PA}.cap"
LICENSE="iASL"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="sys-firmware/iFlash"
src_unpack () {
mkdir "${S}"
cp "${DISTDIR}/AN${PV_AN}.cap" "${S}/AN${PV_AN}.cap" || die
cp "${DISTDIR}/PA${PV_PA}.cap" "${S}/PA${PV_PA}.cap" || die
}
src_install () {
insinto /lib/firmware/intel/nuc
doins "AN${PV_AN}.cap"
doins "PA${PV_PA}.cap"
}
pkg_postinst () {
einfo "Run the following to install the BIOS"
einfo "iFlash /lib/firmware/intel/nuc/AN${PV_AN}.cap"
einfo "iFlash /lib/firmware/intel/nuc/PA${PV_PA}.cap"
}
|