# Template file for 'efibootmgr'
pkgname=efibootmgr
version=0.6.0
revision=1
makedepends="zlib-devel pciutils-devel"
short_desc="Tool to modify UEFI Firmware Boot Manager Variables"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://linux.dell.com/efibootmgr/"
distfiles="http://linux.dell.com/efibootmgr/permalink/${pkgname}-${version}.tar.gz"
checksum=5167488b92950e60028d1025942ce6bda04638c6fb5e110abb8c8f687844d155
long_desc="
 This is efibootmgr, a Linux user-space application to modify the Intel
 Extensible Firmware Interface (EFI) Boot Manager.  This application
 can create and destroy boot entries, change the boot order, change
 the next running boot option, and more."

do_build() {
	CFLAGS= make ${makejobs}
}

do_install() {
	vinstall src/efibootmgr/efibootmgr 755 usr/sbin
	vinstall src/man/man8/efibootmgr.8 644 usr/share/man/man8
}

efibootmgr_package() {
	pkg_install() {
		vmove usr
	}
}
