ipfire-3.x/pcengines-apu-firmware/pcengines-apu-firmware.nm

63 lines
1.6 KiB
Plaintext

###############################################################################
# IPFire.org - An Open Source Firewall Solution #
# Copyright (C) - IPFire Development Team <info@ipfire.org> #
###############################################################################
name = pcengines-apu-firmware
version = 4.10.0.0
release = 1
maintainer = Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
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
source_dl = \
https://3mdeb.com/open-source-firmware/pcengines/apu1 \
https://3mdeb.com/open-source-firmware/pcengines/apu2 \
https://3mdeb.com/open-source-firmware/pcengines/apu3 \
https://3mdeb.com/open-source-firmware/pcengines/apu4 \
https://3mdeb.com/open-source-firmware/pcengines/apu5
sources = \
apu1_v%{version}.rom \
apu2_v%{version}.rom \
apu3_v%{version}.rom \
apu4_v%{version}.rom \
apu5_v%{version}.rom
build
arches = noarch
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