iucode-tool.mk 942 B

1234567891011121314151617181920212223242526272829
  1. ################################################################################
  2. #
  3. # iucode-tool
  4. #
  5. ################################################################################
  6. IUCODE_TOOL_VERSION = 2.3.1
  7. IUCODE_TOOL_SOURCE = iucode-tool_$(IUCODE_TOOL_VERSION).tar.xz
  8. IUCODE_TOOL_SITE = https://gitlab.com/iucode-tool/releases/raw/master
  9. IUCODE_TOOL_LICENSE = GPL-2.0+
  10. IUCODE_TOOL_LICENSE_FILES = COPYING
  11. IUCODE_TOOL_CPE_ID_VALID = YES
  12. ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
  13. IUCODE_TOOL_DEPENDENCIES += argp-standalone $(TARGET_NLS_DEPENDENCIES)
  14. IUCODE_TOOL_CONF_ENV += LIBS=$(TARGET_NLS_LIBS)
  15. endif
  16. define IUCODE_TOOL_INSTALL_INIT_SYSV
  17. $(INSTALL) -D -m 0755 package/iucode-tool/S00iucode-tool \
  18. $(TARGET_DIR)/etc/init.d/S00iucode-tool
  19. endef
  20. define IUCODE_TOOL_INSTALL_INIT_SYSTEMD
  21. $(INSTALL) -D -m 644 package/iucode-tool/iucode.service \
  22. $(TARGET_DIR)/usr/lib/systemd/system/iucode.service
  23. endef
  24. $(eval $(autotools-package))