ima-evm-utils.mk 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. ################################################################################
  2. #
  3. # ima-evm-utils
  4. #
  5. ################################################################################
  6. IMA_EVM_UTILS_VERSION = 1.5
  7. IMA_EVM_UTILS_SITE = https://github.com/mimizohar/ima-evm-utils/releases/download/v$(IMA_EVM_UTILS_VERSION)
  8. IMA_EVM_UTILS_LICENSE = GPL-2.0
  9. IMA_EVM_UTILS_LICENSE_FILES = COPYING
  10. IMA_EVM_UTILS_INSTALL_STAGING = YES
  11. IMA_EVM_UTILS_DEPENDENCIES = host-pkgconf keyutils openssl tpm2-tss
  12. # Tarball doesn't contain configure
  13. IMA_EVM_UTILS_AUTORECONF = YES
  14. # Build and install in the src subdirectory. This avoids building the
  15. # documentation, which requires asciidoc and xsltproc. Note that configure still
  16. # needs to be run from the top dir, so _SUBDIR can't be used.
  17. define IMA_EVM_UTILS_BUILD_CMDS
  18. $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src all
  19. endef
  20. define IMA_EVM_UTILS_INSTALL_STAGING_CMDS
  21. $(TARGET_MAKE_ENV) $(MAKE) DESTDIR="$(STAGING_DIR)" -C $(@D)/src install
  22. endef
  23. define IMA_EVM_UTILS_INSTALL_TARGET_CMDS
  24. $(TARGET_MAKE_ENV) $(MAKE) DESTDIR="$(TARGET_DIR)" -C $(@D)/src install
  25. endef
  26. $(eval $(autotools-package))