blob: dab9957f11264718230e4403ebb4258861ec3661 [file] [log] [blame]
Tomáš Pecka742c7ec2022-10-03 13:49:57 +02001SYSREPO_IETF_ALARMS_VERSION = master
2SYSREPO_IETF_ALARMS_SITE = https://gerrit.cesnet.cz/CzechLight/sysrepo-ietf-alarms
3SYSREPO_IETF_ALARMS_SITE_METHOD = git
4SYSREPO_IETF_ALARMS_INSTALL_STAGING = NO
5SYSREPO_IETF_ALARMS_DEPENDENCIES = docopt-cpp spdlog date sysrepo sysrepo-cpp
6SYSREPO_IETF_ALARMS_LICENSE = Apache-2.0
7SYSREPO_IETF_ALARMS_LICENSE_FILES = LICENSE.md
8
9define SYSREPO_IETF_ALARMS_INSTALL_INIT_SYSTEMD
10 mkdir -p $(TARGET_DIR)/usr/lib/systemd/system/multi-user.target.wants/
11 $(INSTALL) -D -m 0644 \
12 $(BR2_EXTERNAL_CZECHLIGHT_PATH)/package/sysrepo-ietf-alarms/sysrepo-ietf-alarms.service \
13 $(TARGET_DIR)/usr/lib/systemd/system/
14 ln -sf ../sysrepo-ietf-alarms.service $(TARGET_DIR)/usr/lib/systemd/system/multi-user.target.wants/
15endef
16
17$(eval $(cmake-package))