Jan Kundrát | 02cbb81 | 2021-03-02 10:13:35 +0100 | [diff] [blame] | 1 | ROUSETTE_VERSION = master |
| 2 | ROUSETTE_SITE = https://gerrit.cesnet.cz/CzechLight/rousette |
| 3 | ROUSETTE_SITE_METHOD = git |
| 4 | ROUSETTE_INSTALL_STAGING = NO |
Václav Kubernát | 8cd6156 | 2021-12-08 13:27:31 +0100 | [diff] [blame] | 5 | ROUSETTE_DEPENDENCIES = boost docopt-cpp nghttp2 spdlog systemd sysrepo-cpp |
Jan Kundrát | 02cbb81 | 2021-03-02 10:13:35 +0100 | [diff] [blame] | 6 | ROUSETTE_LICENSE = Apache-2.0 |
| 7 | ROUSETTE_LICENSE_FILES = LICENSE.md |
| 8 | |
| 9 | ROUSETTE_CONF_OPTS = \ |
| 10 | -DTHREADS_PTHREAD_ARG:STRING=-pthread |
| 11 | |
Jan Kundrát | b41f008 | 2021-03-09 22:20:35 +0100 | [diff] [blame] | 12 | define 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/ |
| 18 | endef |
| 19 | |
| 20 | define ROUSETTE_USERS |
| 21 | yangnobody 333666 yangnobody 333666 * - - - Unauthenticated operations via RESTCONF |
| 22 | endef |
| 23 | |
Jan Kundrát | 02cbb81 | 2021-03-02 10:13:35 +0100 | [diff] [blame] | 24 | $(eval $(cmake-package)) |