]>
Commit | Line | Data |
---|---|---|
75c364aa MT |
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 | |
8d2329a2 | 7 | version = 4.9.0.7 |
75c364aa MT |
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 | ||
8d2329a2 AF |
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 | ||
75c364aa MT |
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 |