]> git.ipfire.org Git - ipfire-3.x.git/blob - pcengines-apu-firmware/pcengines-apu-firmware.nm
72543d9a15978e030d6de5d379bed24afb8ecf70
[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.6
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 sources = \
24 apu1_v%{version}.rom \
25 apu2_v%{version}.rom \
26 apu3_v%{version}.rom \
27 apu4_v%{version}.rom \
28 apu5_v%{version}.rom
29
30 build
31 MACRO_EXTRACT = : # Do not attempt to extract the binary files
32
33 build
34 # XXX potentially we could compile this from source, but I am
35 # not sure how dangerous this is if that goes wrong
36 end
37
38 install
39 mkdir -pv %{BUILDROOT}%{prefix}/lib/firmware/pcengines/apu
40
41 for source in %{sources}; do
42 install -v -m 644 %{DIR_DL}/${source} \
43 %{BUILDROOT}%{prefix}/lib/firmware/pcengines/apu
44 done
45 end
46 end
47
48 packages
49 package %{name}
50 recommends
51 firmware-update
52 end
53 end
54 end