2014-02-13 14:48:23 +01:00
|
|
|
# Description: manipulate efi boot managers
|
2021-12-13 19:07:17 +01:00
|
|
|
# URL: https://linux.dell.com/efibootmgr/
|
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
|
|
# Depends on: efivar
|
2014-02-13 14:48:23 +01:00
|
|
|
|
|
|
|
name=efibootmgr
|
2022-07-09 20:53:35 +02:00
|
|
|
version=18
|
2014-02-13 14:48:23 +01:00
|
|
|
release=1
|
2021-01-27 17:25:26 +01:00
|
|
|
source=(https://github.com/rhboot/efibootmgr/archive/$version/$name-$version.tar.gz)
|
2014-02-13 14:48:23 +01:00
|
|
|
|
|
|
|
build() {
|
2022-02-02 11:49:38 -06:00
|
|
|
export CFLAGS="${CFLAGS} -Wno-error=pointer-sign"
|
2021-01-27 17:25:26 +01:00
|
|
|
cd $name-$version
|
|
|
|
sed -e '/extern int efi_set_verbose/d' -i src/efibootmgr.c
|
|
|
|
EFIDIR=/boot/efi make
|
|
|
|
install -D src/efibootmgr $PKG/usr/sbin/efibootmgr
|
|
|
|
install -D src/efibootmgr.8 $PKG/usr/share/man/man8/efibootmgr.8
|
2014-02-13 14:48:23 +01:00
|
|
|
}
|