1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
6 name = pcengines-apu-firmware
11 maintainer = Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
12 groups = System/Firmware
13 url = https://pcengines.github.io
15 summary = Firmware binaries for PC Engines APU boards
18 Firmware binaries for PC Engines APU boards.
20 This package ships the mainline branch of the firmware.
24 https://3mdeb.com/open-source-firmware/pcengines/apu1 \
25 https://3mdeb.com/open-source-firmware/pcengines/apu2 \
26 https://3mdeb.com/open-source-firmware/pcengines/apu3 \
27 https://3mdeb.com/open-source-firmware/pcengines/apu4 \
28 https://3mdeb.com/open-source-firmware/pcengines/apu5
31 apu1_v%{version}.rom \
32 apu2_v%{version}.rom \
33 apu3_v%{version}.rom \
34 apu4_v%{version}.rom \
38 MACRO_EXTRACT = : # Do not attempt to extract the binary files
41 # XXX potentially we could compile this from source, but I am
42 # not sure how dangerous this is if that goes wrong
46 mkdir -pv %{BUILDROOT}%{prefix}/lib/firmware/pcengines/apu
48 for source in %{sources}; do
49 install -v -m 644 %{DIR_DL}/${source} \
50 %{BUILDROOT}%{prefix}/lib/firmware/pcengines/apu