diff --git a/srcpkgs/seabios/template b/srcpkgs/seabios/template new file mode 100644 index 0000000000..5324d14272 --- /dev/null +++ b/srcpkgs/seabios/template @@ -0,0 +1,25 @@ +# Template file for 'seabios' +pkgname=seabios +version=1.11.0 +revision=1 +build_style=gnu-makefile +hostmakedepends="python3" +only_for_archs="i686 i686-musl x86_64 x86_64-musl" +short_desc="OSS implementation of a 16-bit x86 BIOS" +maintainer="Jürgen Buchmüller " +license="LGPL-3.0-or-later" +homepage="https://www.seabios.org/" +distfiles="https://www.seabios.org/downloads/${pkgname}-${version}.tar.gz" +checksum=622b432ebb8a3b0b13b8accd6d4a196a7eb3af11f243815e5f7d75d9ceb99bf7 + +CFLAGS="-Wno-error -Wno-array-bounds" + +pre_build() { + rm -f ${XBPS_WRAPPERDIR}/strip +} + +do_install() { + vmkdir usr/share/seabios + vcopy out/bios.bin usr/share/seabios + vcopy docs usr/share/seabios +}