gentoo-ebuilds/sys-firmware/seabios-bin/seabios-bin-1.16.3.ebuild
Sam James b6c95a2704
sys-firmware/seabios-bin: Stabilize 1.16.3 ppc64, #941496
Signed-off-by: Sam James <sam@gentoo.org>
2025-01-06 03:23:31 +00:00

25 lines
637 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
BINPKG="${P/-bin/}-1"
DESCRIPTION="Open Source implementation of a 16-bit x86 BIOS"
HOMEPAGE="https://www.seabios.org/"
SRC_URI="https://dev.gentoo.org/~chewi/distfiles/${BINPKG}.xpak"
S="${WORKDIR}"
LICENSE="LGPL-3 GPL-3"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86"
RDEPEND="!sys-firmware/seabios"
src_unpack() {
tar -xf - < <(xz -c -d --single-stream "${DISTDIR}/${BINPKG}.xpak") || die "unpacking binpkg failed"
}
src_install() {
mv usr "${ED}" || die
}