void-packages/srcpkgs/efibootmgr/template

23 lines
740 B
Bash

# Template file for 'efibootmgr'
pkgname=efibootmgr
version=0.12
revision=1
build_pie=yes
hostmakedepends="pkg-config"
makedepends="libefivar-devel zlib-devel pciutils-devel"
short_desc="Tool to modify UEFI Firmware Boot Manager Variables"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="https://github.com/rhinstaller/efibootmgr"
distfiles="https://github.com/rhinstaller/efibootmgr/releases/download/efibootmgr-${version}/efibootmgr-${version}.tar.bz2"
checksum=a66f5850677e86255d93cb1cead04c3c48a823a2b864c579321f2a07f00256e6
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
do_build() {
make EXTRA_CFLAGS="$CFLAGS" ${makejobs}
}
do_install() {
vbin src/efibootmgr/efibootmgr
vman src/man/man8/efibootmgr.8
}