blob: 99f5760da947968ce03b4910d31a3266ce37c565 [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
5VELIA_DEPENDENCIES = docopt-cpp spdlog boost sdbus-cpp systemd
6VELIA_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))