mariadb: update to 10.9.8
[feed/packages.git] / utils / efibootmgr / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=efibootmgr
4 PKG_VERSION:=18
5 PKG_RELEASE:=2
6
7 PKG_SOURCE_PROTO:=git
8 PKG_SOURCE_URL:=https://github.com/rhboot/efibootmgr.git
9 PKG_SOURCE_DATE:=2022-11-12
10 PKG_SOURCE_VERSION:=1904f9cd5a48207d49e393ac8de824f54ccfb697
11 PKG_MIRROR_HASH:=0355e00bb54d468ecbaa106aa703dd389f2f2f4c7b7afb78a258cec10d75f78d
12
13 PKG_LICENSE:=GPL-2.0-only
14 PKG_LICENSE_FILES:=COPYING
15 PKG_MAINTAINER:=OSkari Rauta <oskari.rauta@gmail.com>
16
17 PKG_BUILD_PARALLEL:=1
18 PKG_INSTALL:=1
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/efibootmgr
23 SECTION:=utils
24 CATEGORY:=Utilities
25 TITLE:=Application to modify the EFI Boot Manager
26 DEPENDS:=@(TARGET_x86_64||TARGET_armsr_armv8) +efivar +libpopt
27 URL:=https://github.com/rhboot/efibootmgr
28 endef
29
30 define Package/efibootmgr/description
31 This is efibootmgr, a Linux user-space application to modify the
32 Intel Extensible Firmware Interface (EFI) Boot Manager.
33 This application can create and destroy boot entries, change
34 the boot order, change the next running boot option, and more.
35
36 Details on the EFI Boot Manager are available from the
37 EFI Specification, v1.02 or above, available from:
38 http://www.uefi.org
39
40 Note: efibootmgr requires either the efivarfs or the legacy
41 efivars kernel module to be loaded prior to use.
42 endef
43
44 MAKE_VARS += \
45 EFIDIR="/boot/EFI" \
46 PCDIR="$(STAGING_DIR)/usr/lib/pkgconfig" \
47 EXTRAINCDIR="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/usr/include/efivar" \
48 EXTRALIBDIR="-L$(STAGING_DIR)/usr/lib"
49
50 define Package/efibootmgr/install
51 $(INSTALL_DIR) $(1)/usr/sbin
52 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/{efibootdump,efibootmgr} $(1)/usr/sbin/
53 endef
54
55 $(eval $(call BuildPackage,efibootmgr))