| ROUSETTE_VERSION = master |
| ROUSETTE_SITE = https://gerrit.cesnet.cz/CzechLight/rousette |
| ROUSETTE_SITE_METHOD = git |
| ROUSETTE_INSTALL_STAGING = NO |
| ROUSETTE_DEPENDENCIES = boost docopt-cpp nghttp2 spdlog systemd sysrepo |
| ROUSETTE_LICENSE = Apache-2.0 |
| ROUSETTE_LICENSE_FILES = LICENSE.md |
| |
| ROUSETTE_CONF_OPTS = \ |
| -DTHREADS_PTHREAD_ARG:STRING=-pthread |
| |
| define ROUSETTE_INSTALL_INIT_SYSTEMD |
| mkdir -p $(TARGET_DIR)/usr/lib/systemd/system/multi-user.target.wants/ |
| $(INSTALL) -D -m 0644 \ |
| $(BR2_EXTERNAL_CZECHLIGHT_PATH)/package/rousette/rousette.service \ |
| $(TARGET_DIR)/usr/lib/systemd/system/ |
| ln -sf ../rousette.service $(TARGET_DIR)/usr/lib/systemd/system/multi-user.target.wants/ |
| endef |
| |
| define ROUSETTE_USERS |
| yangnobody 333666 yangnobody 333666 * - - - Unauthenticated operations via RESTCONF |
| endef |
| |
| $(eval $(cmake-package)) |