Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32069 - (show annotations) (download)
Fri Mar 22 21:56:27 2019 UTC (5 years, 1 month ago) by niro
File size: 919 byte(s)
auto added: ver bump to 16-r1
1 # $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=">= dev-libs/popt-1.16
13 >= sys-apps/pciutils-3.6
14 >= sys-libs/zlib-1.2.5
15 >= sys-apps/efivar-37"
16
17 SDEPEND=">= dev-util/pkgconfig-0.25"
18
19 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 }