Tomáš Pecka | 742c7ec | 2022-10-03 13:49:57 +0200 | [diff] [blame] | 1 | SYSREPO_IETF_ALARMS_VERSION = master |
| 2 | SYSREPO_IETF_ALARMS_SITE = https://gerrit.cesnet.cz/CzechLight/sysrepo-ietf-alarms |
| 3 | SYSREPO_IETF_ALARMS_SITE_METHOD = git |
| 4 | SYSREPO_IETF_ALARMS_INSTALL_STAGING = NO |
| 5 | SYSREPO_IETF_ALARMS_DEPENDENCIES = docopt-cpp spdlog date sysrepo sysrepo-cpp |
| 6 | SYSREPO_IETF_ALARMS_LICENSE = Apache-2.0 |
| 7 | SYSREPO_IETF_ALARMS_LICENSE_FILES = LICENSE.md |
| 8 | |
| 9 | define 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/ |
| 15 | endef |
| 16 | |
| 17 | $(eval $(cmake-package)) |