void-packages/srcpkgs/efibootmgr/template

23 lines
649 B
Text

# Template file for 'efibootmgr'
pkgname=efibootmgr
version=0.7.0
revision=1
hostmakedepends="git"
makedepends="libefivar-devel zlib-devel pciutils-devel"
short_desc="Tool to modify UEFI Firmware Boot Manager Variables"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="https://github.com/vathpela/efibootmgr"
only_for_archs="i686 x86_64"
do_fetch() {
git clone -b ${pkgname}-${version} git://github.com/vathpela/${pkgname} ${pkgname}-${version}
}
do_build() {
make EXTRA_CFLAGS="$CFLAGS" ${makejobs}
}
do_install() {
vinstall src/efibootmgr/efibootmgr 755 usr/sbin
vinstall src/man/man8/efibootmgr.8 644 usr/share/man/man8
}