blob: 5cf9630c600efd44aaa0d96677ee1ca31a50fcba (
plain)
1 # Description: manipulate efi boot managers
2 # URL: https://linux.dell.com/efibootmgr/
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Depends on: efivar
5
6 name=efibootmgr
7 version=18
8 release=1
9 source=(https://github.com/rhboot/efibootmgr/archive/$version/$name-$version.tar.gz)
10
11 build() {
12 export CFLAGS="${CFLAGS} -Wno-error=pointer-sign"
13 cd $name-$version
14 sed -e '/extern int efi_set_verbose/d' -i src/efibootmgr.c
15 EFIDIR=/boot/efi make
16 install -D src/efibootmgr $PKG/usr/sbin/efibootmgr
17 install -D src/efibootmgr.8 $PKG/usr/share/man/man8/efibootmgr.8
18 }
|