Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32067 - (hide annotations) (download)
Fri Mar 22 21:39:28 2019 UTC (5 years, 2 months ago) by niro
File size: 919 byte(s)
-fixed dependencies
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 niro 32067 DEPEND=">= dev-libs/popt-1.16
13     >= sys-apps/pciutils-3.6
14 niro 32066 >= sys-libs/zlib-1.2.5
15     >= sys-apps/efivar-35"
16    
17 niro 32067 SDEPEND=">= dev-util/pkgconfig-0.25"
18    
19 niro 32066 SRCFILE="${PNAME}-${PVER}.tar.bz2"
20     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
21    
22     sminclude mbuild mtools
23    
24     SRC_URI=(
25     #https://github.com/rhboot/${PNAME}/archive/${SRCFILE}
26     https://github.com/rhboot/${PNAME}/releases/download/${PVER}/${SRCFILE}
27     mirror://${PNAME}/${SRCFILE}
28     )
29    
30     UP2DATE="updatecmd https://github.com/rhboot/${PNAME}/releases | highesttarball"
31    
32     src_compile()
33     {
34     cd ${SRCDIR}
35    
36     mmake EXTRA_CFLAGS="-Os" EFIDIR="/boot/EFI"
37     }
38    
39     src_install()
40     {
41     cd ${SRCDIR}
42    
43     minstallexec src/efibootmgr || die
44     minstallman src/efibootmgr.8 || die
45     minstalldocs AUTHORS COPYING README* TODO || die
46     }