# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=5 DESCRIPTION="UEFI shim loader" HOMEPAGE="https://github.com/mjg59/shim" SRC_URI="http://www.codon.org.uk/~mjg59/${PN}/${PN}-${PV}.tar.bz2" LICENSE="BSD-2" SLOT="0" KEYWORDS="~amd64" IUSE="" DEPEND="${RDEPEND}" RDEPEND="dev-libs/nss[utils] >=dev-libs/openssl-0.9.8 app-crypt/pesign sys-boot/gnu-efi" src_prepare(){ # netboot support is not working. see TODO sed -i 's/ netboot.\(c\|o\)//g' Makefile || die sed -i 's|/usr/lib64/gnuefi|/usr/lib64|' Makefile || die } src_install() { insinto /usr/lib64/efi doins shim.efi doins MokManager.efi.signed }