aboutsummaryrefslogtreecommitdiff
blob: 622a6b26ed4312a3b037ab973bc61c39145c0908 (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
30
31
32
33
34
35
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="Linux Foundation UEFI secure boot system (prebuilt X64 EFI binaries)"
HOMEPAGE=""
SRC_URI="
	https://blog.hansenpartnership.com/wp-uploads/2013/PreLoader.efi
	https://blog.hansenpartnership.com/wp-uploads/2013/HashTool.efi
"

RESTRICT="mirror"

LICENSE="LGPL2.1"
SLOT="0"
KEYWORDS="amd64"

DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""

S="${DISTDIR}"

src_install() {
	insinto /usr/share/preloader-signed
	doins *.efi
}

pkg_postinst() {
	einfo
	einfo "Installed into /usr/share/preloader-signed/PreLoader.efi"
	einfo "/usr/share/preloader-signed/HashTool.efi"
	einfo
}