Tomáš Pecka | c589750 | 2020-07-13 16:49:28 +0200 | [diff] [blame] | 1 | VELIA_VERSION = master |
| 2 | VELIA_SITE = https://gerrit.cesnet.cz/CzechLight/velia |
| 3 | VELIA_SITE_METHOD = git |
| 4 | VELIA_INSTALL_STAGING = NO |
Tomáš Pecka | 75a3564 | 2020-11-25 11:00:50 +0100 | [diff] [blame] | 5 | VELIA_DEPENDENCIES = docopt-cpp spdlog boost sdbus-cpp systemd sysrepo |
Tomáš Pecka | c589750 | 2020-07-13 16:49:28 +0200 | [diff] [blame] | 6 | VELIA_CONF_OPTS = -DTHREADS_PTHREAD_ARG:STRING=-pthread |
| 7 | VELIA_LICENSE = Apache-2.0 |
| 8 | VELIA_LICENSE_FILES = LICENSE.md |
| 9 | |
| 10 | define VELIA_INSTALL_INIT_SYSTEMD |
| 11 | mkdir -p $(TARGET_DIR)/usr/lib/systemd/system/multi-user.target.wants/ |
| 12 | $(INSTALL) -D -m 0644 \ |
| 13 | $(BR2_EXTERNAL_CZECHLIGHT_PATH)/package/velia/velia.service \ |
| 14 | $(TARGET_DIR)/usr/lib/systemd/system/ |
| 15 | ln -sf ../velia.service $(TARGET_DIR)/usr/lib/systemd/system/multi-user.target.wants/ |
| 16 | |
| 17 | $(INSTALL) -D -m 0644 \ |
| 18 | $(BR2_EXTERNAL_CZECHLIGHT_PATH)/package/velia/max_match_rules.conf \ |
| 19 | $(TARGET_DIR)/usr/share/dbus-1/system.d/ |
| 20 | endef |
| 21 | |
| 22 | $(eval $(cmake-package)) |