blob: b09a0e9845dbbcbc6520c8962e0f9ef3c6be3ae6 [file] [log] [blame]
Tomáš Peckac5897502020-07-13 16:49:28 +02001VELIA_VERSION = master
2VELIA_SITE = https://gerrit.cesnet.cz/CzechLight/velia
3VELIA_SITE_METHOD = git
4VELIA_INSTALL_STAGING = NO
Tomáš Pecka75a35642020-11-25 11:00:50 +01005VELIA_DEPENDENCIES = docopt-cpp spdlog boost sdbus-cpp systemd sysrepo
Tomáš Peckac5897502020-07-13 16:49:28 +02006VELIA_CONF_OPTS = -DTHREADS_PTHREAD_ARG:STRING=-pthread
7VELIA_LICENSE = Apache-2.0
8VELIA_LICENSE_FILES = LICENSE.md
9
10define 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/
20endef
21
22$(eval $(cmake-package))