aboutsummaryrefslogtreecommitdiff
blob: dd332df45b8536a16826f32a29c5ce840469ea4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI="7"

inherit autotools

DESCRIPTION="tool to manipulate Intel X86 and X86-64 processor microcode update collections"
HOMEPAGE="https://gitlab.com/iucode-tool/"
SRC_URI="https://gitlab.com/iucode-tool/releases/raw/master/${PN/_/-}_${PV}.tar.xz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* amd64 x86"
IUSE=""

DEPEND="elibc_musl? ( sys-libs/argp-standalone )"
RDEPEND=${DEPEND}

S="${WORKDIR}/${PN/_/-}-${PV}"

src_prepare() {
	default

	eapply "${FILESDIR}/${PN}-2.2-limits.patch"
	use elibc_musl && eapply "${FILESDIR}/${PN}-2.2-argp.patch"

	eautoreconf
}