1################################################################################ 2# 3# supervisor 4# 5################################################################################ 6 7SUPERVISOR_VERSION = 4.2.2 8SUPERVISOR_SITE = https://files.pythonhosted.org/packages/d3/7f/c780b7471ba0ff4548967a9f7a8b0bfce222c3a496c3dfad0164172222b0 9SUPERVISOR_LICENSE = BSD-like, rdflib (http_client.py), PSF (medusa) 10SUPERVISOR_LICENSE_FILES = COPYRIGHT.txt LICENSES.txt 11SUPERVISOR_CPE_ID_VENDOR = supervisord 12SUPERVISOR_SETUP_TYPE = setuptools 13 14define SUPERVISOR_INSTALL_CONF_FILES 15 $(INSTALL) -d -m 755 $(TARGET_DIR)/etc/supervisor.d 16 $(INSTALL) -D -m 644 package/supervisor/supervisord.conf \ 17 $(TARGET_DIR)/etc/supervisord.conf 18endef 19 20SUPERVISOR_POST_INSTALL_TARGET_HOOKS += SUPERVISOR_INSTALL_CONF_FILES 21 22define SUPERVISOR_INSTALL_INIT_SYSV 23 $(INSTALL) -D -m 755 package/supervisor/S99supervisord \ 24 $(TARGET_DIR)/etc/init.d/S99supervisord 25endef 26 27define SUPERVISOR_INSTALL_INIT_SYSTEMD 28 $(INSTALL) -D -m 644 package/supervisor/supervisord.service \ 29 $(TARGET_DIR)/usr/lib/systemd/system/supervisord.service 30endef 31 32$(eval $(python-package)) 33