2014-02-13 14:48:23 +01:00
|
|
|
# Description: manipulate efi boot managers
|
2021-01-27 17:25:26 +01:00
|
|
|
# URL: http://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
|
2021-01-27 17:25:26 +01:00
|
|
|
version=17
|
2014-02-13 14:48:23 +01:00
|
|
|
release=1
|
2021-01-27 17:25:26 +01:00
|
|
|
#source=(https://github.com/rhinstaller/$name/releases/download/$version/$name-$version.tar.bz2)
|
|
|
|
source=(https://github.com/rhboot/efibootmgr/archive/$version/$name-$version.tar.gz)
|
2014-02-13 14:48:23 +01:00
|
|
|
|
|
|
|
build() {
|
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
|
|
|
}
|