Magellan Linux

Annotation of /trunk/core/efibootmgr/efibootmgr-16-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32066 - (hide annotations) (download)
Fri Mar 22 21:37:32 2019 UTC (5 years, 1 month ago) by niro
File size: 858 byte(s)
auto added: ver bump to 16-r1
1 niro 32066 # $Id$
2    
3     PNAME="efibootmgr"
4     PVER="16"
5     PBUILD="r1"
6    
7     PCAT="sys-apps"
8    
9     DESCRIPTION="Tool to modify UEFI Firmware Boot Manager Variables."
10     HOMEPAGE="https://github.com/rhinstaller/efibootmgr"
11    
12     DEPEND=">= sys-apps/pciutils-3.6
13     >= sys-libs/zlib-1.2.5
14     >= sys-apps/efivar-35"
15    
16     SRCFILE="${PNAME}-${PVER}.tar.bz2"
17     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
18    
19     sminclude mbuild mtools
20    
21     SRC_URI=(
22     #https://github.com/rhboot/${PNAME}/archive/${SRCFILE}
23     https://github.com/rhboot/${PNAME}/releases/download/${PVER}/${SRCFILE}
24     mirror://${PNAME}/${SRCFILE}
25     )
26    
27     UP2DATE="updatecmd https://github.com/rhboot/${PNAME}/releases | highesttarball"
28    
29     src_compile()
30     {
31     cd ${SRCDIR}
32    
33     mmake EXTRA_CFLAGS="-Os" EFIDIR="/boot/EFI"
34     }
35    
36     src_install()
37     {
38     cd ${SRCDIR}
39    
40     minstallexec src/efibootmgr || die
41     minstallman src/efibootmgr.8 || die
42     minstalldocs AUTHORS COPYING README* TODO || die
43     }