blob: 5a2c96ecfa4941470c75e275b324175c3f4282f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
name=efibootmgr
version=18
release=1
source="https://github.com/rhboot/efibootmgr/archive/$version/$name-$version.tar.gz"
export CFLAGS="${CFLAGS} -Wno-error=pointer-sign"
build() {
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
}
|