summaryrefslogtreecommitdiff
path: root/sys-devel/fcode-utils/fcode-utils-1.0.3.ebuild
blob: a8c07fc2a7cd38638f09eb736d0bba30c08ec760 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright 2022 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Set of utilities to process FCODE, OpenFirmware's byte code"
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 CPL-1.0"
SLOT="0"
KEYWORDS="~amd64"

DOCS=( documentation/ )

src_prepare() {
	default
	sed -i 's;^STRIP\b.*;STRIP = true;' toke/Makefile detok/Makefile romheaders/Makefile || die
}