]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blob - pcengines-apu-firmware/pcengines-apu-firmware.nm
48f5862229e8b7dc8dd8dbcb747ae4f83fd29377
[people/pmueller/ipfire-3.x.git] / pcengines-apu-firmware / pcengines-apu-firmware.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = pcengines-apu-firmware
7 version = 4.9.0.7
8 release = 1
9 arch = noarch
10
11 maintainer = Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
12 groups = System/Firmware
13 url = https://pcengines.github.io
14 license = GPLv2+
15 summary = Firmware binaries for PC Engines APU boards
16
17 description
18 Firmware binaries for PC Engines APU boards.
19
20 This package ships the mainline branch of the firmware.
21 end
22
23 source_dl = \
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
29
30 sources = \
31 apu1_v%{version}.rom \
32 apu2_v%{version}.rom \
33 apu3_v%{version}.rom \
34 apu4_v%{version}.rom \
35 apu5_v%{version}.rom
36
37 build
38 MACRO_EXTRACT = : # Do not attempt to extract the binary files
39
40 build
41 # XXX potentially we could compile this from source, but I am
42 # not sure how dangerous this is if that goes wrong
43 end
44
45 install
46 mkdir -pv %{BUILDROOT}%{prefix}/lib/firmware/pcengines/apu
47
48 for source in %{sources}; do
49 install -v -m 644 %{DIR_DL}/${source} \
50 %{BUILDROOT}%{prefix}/lib/firmware/pcengines/apu
51 done
52 end
53 end
54
55 packages
56 package %{name}
57 recommends
58 firmware-update
59 end
60 end
61 end