diff options
Diffstat (limited to 'sys-firmware/firmware-imx/firmware-imx-8.18.ebuild')
-rw-r--r-- | sys-firmware/firmware-imx/firmware-imx-8.18.ebuild | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sys-firmware/firmware-imx/firmware-imx-8.18.ebuild b/sys-firmware/firmware-imx/firmware-imx-8.18.ebuild new file mode 100644 index 000000000000..1ca9ce550781 --- /dev/null +++ b/sys-firmware/firmware-imx/firmware-imx-8.18.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="NXP i.MX firmware" +HOMEPAGE="https://www.timesys.com/" +SRC_URI="http://repository.timesys.com/buildsources/${PN:0:1}/${PN}/${P}/${P}.bin" +LICENSE="LA_OPT_BASE_LICENSE" +SLOT="0" +KEYWORDS="~arm" + +S="${WORKDIR}/${P}/firmware" + +src_unpack() { + eval local $(grep -a -m1 "^filesizes=" "${DISTDIR}/${A}") + tail -c"${filesizes}" "${DISTDIR}/${A}" > "${P}.tar.bz2" || die + unpack "./${P}.tar.bz2" +} + +src_install() { + insinto /lib/firmware + doins -r */ +} |