blob: 38d26d28b21d65fed69b438f1dc8c965d6a024eb [file] [log] [blame]
Jan Kundrát02cbb812021-03-02 10:13:35 +01001ROUSETTE_VERSION = master
2ROUSETTE_SITE = https://gerrit.cesnet.cz/CzechLight/rousette
3ROUSETTE_SITE_METHOD = git
4ROUSETTE_INSTALL_STAGING = NO
5ROUSETTE_DEPENDENCIES = boost docopt-cpp nghttp2 spdlog systemd sysrepo
6ROUSETTE_LICENSE = Apache-2.0
7ROUSETTE_LICENSE_FILES = LICENSE.md
8
9ROUSETTE_CONF_OPTS = \
10 -DTHREADS_PTHREAD_ARG:STRING=-pthread
11
Jan Kundrátb41f0082021-03-09 22:20:35 +010012define ROUSETTE_INSTALL_INIT_SYSTEMD
13 mkdir -p $(TARGET_DIR)/usr/lib/systemd/system/multi-user.target.wants/
14 $(INSTALL) -D -m 0644 \
15 $(BR2_EXTERNAL_CZECHLIGHT_PATH)/package/rousette/rousette.service \
16 $(TARGET_DIR)/usr/lib/systemd/system/
17 ln -sf ../rousette.service $(TARGET_DIR)/usr/lib/systemd/system/multi-user.target.wants/
18endef
19
20define ROUSETTE_USERS
21 yangnobody 333666 yangnobody 333666 * - - - Unauthenticated operations via RESTCONF
22endef
23
Jan Kundrát02cbb812021-03-02 10:13:35 +010024$(eval $(cmake-package))