X-Git-Url: http://git.draconx.ca/gitweb/gentoo-draconx.git/blobdiff_plain/b69890b318d69f363c4bbc7c95ad67a862f3581a..7e0562f279e3e4e15e72d47c4b62e1475df7498a:/dev-util/fcode-utils/fcode-utils-1.0.3.ebuild diff --git a/dev-util/fcode-utils/fcode-utils-1.0.3.ebuild b/dev-util/fcode-utils/fcode-utils-1.0.3.ebuild new file mode 100644 index 0000000..2f1a593 --- /dev/null +++ b/dev-util/fcode-utils/fcode-utils-1.0.3.ebuild @@ -0,0 +1,27 @@ +# Copyright © 2022 Nick Bowler +# License GPLv3+: GNU General Public License version 3 or any later version. +# This is free software: you are free to change and redistribute it. +# There is NO WARRANTY, to the extent permitted by law. + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Utilities to process FCode bytecode for OpenFirmware" +HOMEPAGE="https://www.openfirmware.info/FCODE_suite" +SRC_URI="https://github.com/openbios/fcode-utils/archive/refs/tags/v$PV.tar.gz -> $P.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +src_compile () { + emake CC="$(tc-getCC)" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" STRIP=: +} + +src_install () { + dobin toke/toke detok/detok romheaders/romheaders + + docinto html + dodoc documentation/*.html documentation/*.css +}