# Template file for 'seabios'
pkgname=seabios
version=1.12.0
revision=1
build_style=gnu-makefile
hostmakedepends="python3"
archs="i686* x86_64*"
short_desc="OSS implementation of a 16-bit x86 BIOS"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="LGPL-3.0-or-later"
homepage="https://www.seabios.org/"
distfiles="https://www.seabios.org/downloads/${pkgname}-${version}.tar.gz"
checksum=df17b8e565e75c27897ceb82af853b7c568eba7911f3bd173f8a68c1b4bda74b

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
}
