docker-compose: Update to version 2.28.0
[feed/packages.git] / utils / sedutil / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=sedutil
4 PKG_RELEASE:=2
5
6 PKG_SOURCE_PROTO:=git
7 PKG_SOURCE_URL=https://github.com/Drive-Trust-Alliance/sedutil
8 PKG_SOURCE_DATE:=2022-12-27
9 PKG_SOURCE_VERSION:=7a0cda7f60cce346f72466e61ce006e5ea48fbc0
10 PKG_MIRROR_HASH:=a0bffc3c60dfd7fe0d64ba3a248d12c4c4303b4e338809526bdf06ab05c98730
11
12 PKG_LICENSE_FILES:=README.md
13 PKG_LICENSE:=GPL-3.0-or-later
14 PKG_MAINTAINER:=Javier Marcet <javier@marcet.info>
15
16 PKG_FIXUP:=autoreconf
17 PKG_BUILD_PARALLEL:=1
18 PKG_BUILD_FLAGS:=lto
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/sedutil
23 SECTION:=utils
24 CATEGORY:=Utilities
25 TITLE:=The Drive Trust Alliance Self Encrypting Drive Utility
26 URL:=https://github.com/Drive-Trust-Alliance/sedutil
27 DEPENDS:=+libstdcpp
28 endef
29
30 define Package/sedutil/description
31 This program and it's accompanying Pre-Boot Authorization image allow you to
32 enable the locking in SED's that comply with the TCG OPAL 2.00 standard on bios
33 machines.
34 endef
35
36 define Package/sedutil/install
37 $(INSTALL_DIR) $(1)/usr/bin
38 $(CP) $(PKG_BUILD_DIR)/{linuxpba,sedutil-cli} $(1)/usr/bin
39 endef
40
41 $(eval $(call BuildPackage,sedutil))