blob: dab9957f11264718230e4403ebb4258861ec3661 [file] [log] [blame]
SYSREPO_IETF_ALARMS_VERSION = master
SYSREPO_IETF_ALARMS_SITE = https://gerrit.cesnet.cz/CzechLight/sysrepo-ietf-alarms
SYSREPO_IETF_ALARMS_SITE_METHOD = git
SYSREPO_IETF_ALARMS_INSTALL_STAGING = NO
SYSREPO_IETF_ALARMS_DEPENDENCIES = docopt-cpp spdlog date sysrepo sysrepo-cpp
SYSREPO_IETF_ALARMS_LICENSE = Apache-2.0
SYSREPO_IETF_ALARMS_LICENSE_FILES = LICENSE.md
define SYSREPO_IETF_ALARMS_INSTALL_INIT_SYSTEMD
mkdir -p $(TARGET_DIR)/usr/lib/systemd/system/multi-user.target.wants/
$(INSTALL) -D -m 0644 \
$(BR2_EXTERNAL_CZECHLIGHT_PATH)/package/sysrepo-ietf-alarms/sysrepo-ietf-alarms.service \
$(TARGET_DIR)/usr/lib/systemd/system/
ln -sf ../sysrepo-ietf-alarms.service $(TARGET_DIR)/usr/lib/systemd/system/multi-user.target.wants/
endef
$(eval $(cmake-package))