2014-02-04 10:25:58 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# iucode-tool
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-10-07 13:02:08 +02:00
|
|
|
IUCODE_TOOL_VERSION = 2.2
|
2016-01-30 11:24:49 +01:00
|
|
|
IUCODE_TOOL_SOURCE = iucode-tool_$(IUCODE_TOOL_VERSION).tar.xz
|
2017-08-29 21:10:02 +02:00
|
|
|
IUCODE_TOOL_SITE = https://gitlab.com/iucode-tool/releases/raw/master
|
2016-01-22 10:06:05 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
|
2014-02-04 19:01:09 +01:00
|
|
|
IUCODE_TOOL_DEPENDENCIES = argp-standalone
|
|
|
|
endif
|
2017-03-30 15:43:32 +02:00
|
|
|
IUCODE_TOOL_LICENSE = GPL-2.0+
|
2014-02-04 10:25:58 +01:00
|
|
|
IUCODE_TOOL_LICENSE_FILES = COPYING
|
|
|
|
|
|
|
|
define IUCODE_TOOL_INSTALL_INIT_SYSV
|
2014-11-30 15:18:43 +01:00
|
|
|
$(INSTALL) -D -m 0755 package/iucode-tool/S00iucode-tool \
|
|
|
|
$(TARGET_DIR)/etc/init.d/S00iucode-tool
|
2014-02-04 10:25:58 +01:00
|
|
|
endef
|
|
|
|
|
2018-05-15 12:18:02 +02:00
|
|
|
define IUCODE_TOOL_INSTALL_INIT_SYSTEMD
|
|
|
|
$(INSTALL) -D -m 644 package/iucode-tool/iucode.service \
|
|
|
|
$(TARGET_DIR)/usr/lib/systemd/system/iucode.service
|
|
|
|
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
|
|
|
ln -sf ../../../../usr/lib/systemd/system/iucode.service \
|
|
|
|
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/iucode.service
|
|
|
|
endef
|
|
|
|
|
2014-02-04 10:25:58 +01:00
|
|
|
$(eval $(autotools-package))
|