blob: 99f5760da947968ce03b4910d31a3266ce37c565 [file] [log] [blame]
VELIA_VERSION = master
VELIA_SITE = https://gerrit.cesnet.cz/CzechLight/velia
VELIA_SITE_METHOD = git
VELIA_INSTALL_STAGING = NO
VELIA_DEPENDENCIES = docopt-cpp spdlog boost sdbus-cpp systemd
VELIA_CONF_OPTS = -DTHREADS_PTHREAD_ARG:STRING=-pthread
VELIA_LICENSE = Apache-2.0
VELIA_LICENSE_FILES = LICENSE.md
define VELIA_INSTALL_INIT_SYSTEMD
mkdir -p $(TARGET_DIR)/usr/lib/systemd/system/multi-user.target.wants/
$(INSTALL) -D -m 0644 \
$(BR2_EXTERNAL_CZECHLIGHT_PATH)/package/velia/velia.service \
$(TARGET_DIR)/usr/lib/systemd/system/
ln -sf ../velia.service $(TARGET_DIR)/usr/lib/systemd/system/multi-user.target.wants/
$(INSTALL) -D -m 0644 \
$(BR2_EXTERNAL_CZECHLIGHT_PATH)/package/velia/max_match_rules.conf \
$(TARGET_DIR)/usr/share/dbus-1/system.d/
endef
$(eval $(cmake-package))