From: Michael Tremer Date: Fri, 29 Mar 2019 11:42:28 +0000 (+0000) Subject: pcengines-apu-firmware: New package X-Git-Url: http://git.ipfire.org/?p=ipfire-3.x.git;a=commitdiff_plain;h=75c364aa4e563bc7c2e3543839e622d07428ca43 pcengines-apu-firmware: New package This is the latest firmware for PC Engines APU boards This can now be updated with firmware-update Signed-off-by: Michael Tremer --- diff --git a/pcengines-apu-firmware/pcengines-apu-firmware.nm b/pcengines-apu-firmware/pcengines-apu-firmware.nm new file mode 100644 index 000000000..81308fe2b --- /dev/null +++ b/pcengines-apu-firmware/pcengines-apu-firmware.nm @@ -0,0 +1,54 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team # +############################################################################### + +name = pcengines-apu-firmware +version = 4.9.0.3 +release = 1 +arch = noarch + +maintainer = Arne Fitzenreiter +groups = System/Firmware +url = https://pcengines.github.io +license = GPLv2+ +summary = Firmware binaries for PC Engines APU boards + +description + Firmware binaries for PC Engines APU boards. + + This package ships the mainline branch of the firmware. +end + +sources = \ + apu1_v%{version}.rom \ + apu2_v%{version}.rom \ + apu3_v%{version}.rom \ + apu4_v%{version}.rom \ + apu5_v%{version}.rom + +build + MACRO_EXTRACT = : # Do not attempt to extract the binary files + + build + # XXX potentially we could compile this from source, but I am + # not sure how dangerous this is if that goes wrong + end + + install + mkdir -pv %{BUILDROOT}%{prefix}/lib/firmware/pcengines/apu + + for source in %{sources}; do + install -v -m 644 %{DIR_DL}/${source} \ + %{BUILDROOT}%{prefix}/lib/firmware/pcengines/apu + done + end +end + +packages + package %{name} + recommends + firmware-update + end + end +end