# $Id$ PNAME="efibootmgr" PVER="16" PBUILD="r1" PCAT="sys-apps" DESCRIPTION="Tool to modify UEFI Firmware Boot Manager Variables." HOMEPAGE="https://github.com/rhinstaller/efibootmgr" DEPEND=">= sys-apps/pciutils-3.6 >= sys-libs/zlib-1.2.5 >= sys-apps/efivar-35" SRCFILE="${PNAME}-${PVER}.tar.bz2" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild mtools SRC_URI=( #https://github.com/rhboot/${PNAME}/archive/${SRCFILE} https://github.com/rhboot/${PNAME}/releases/download/${PVER}/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd https://github.com/rhboot/${PNAME}/releases | highesttarball" src_compile() { cd ${SRCDIR} mmake EXTRA_CFLAGS="-Os" EFIDIR="/boot/EFI" } src_install() { cd ${SRCDIR} minstallexec src/efibootmgr || die minstallman src/efibootmgr.8 || die minstalldocs AUTHORS COPYING README* TODO || die }