Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32070 - (show annotations) (download)
Fri Mar 22 21:57:23 2019 UTC (5 years, 1 month ago) by niro
File size: 970 byte(s)
-disable src_check
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 msetfeature "!check" # no check target in makefile
23 sminclude mbuild mtools
24
25 SRC_URI=(
26 #https://github.com/rhboot/${PNAME}/archive/${SRCFILE}
27 https://github.com/rhboot/${PNAME}/releases/download/${PVER}/${SRCFILE}
28 mirror://${PNAME}/${SRCFILE}
29 )
30
31 UP2DATE="updatecmd https://github.com/rhboot/${PNAME}/releases | highesttarball"
32
33 src_compile()
34 {
35 cd ${SRCDIR}
36
37 mmake EXTRA_CFLAGS="-Os" EFIDIR="/boot/EFI"
38 }
39
40 src_install()
41 {
42 cd ${SRCDIR}
43
44 minstallexec src/efibootmgr || die
45 minstallman src/efibootmgr.8 || die
46 minstalldocs AUTHORS COPYING README* TODO || die
47 }