aboutsummaryrefslogtreecommitdiff
blob: 431aeb4ab44020acf083eb420a5e949404bdc1dc (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="6"

inherit autotools eutils

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() {
	eapply "${FILESDIR}/${PN}-2.2-limits.patch"
	use elibc_musl && eapply "${FILESDIR}/${PN}-2.2-argp.patch"

	eapply_user

	eautoreconf
}