supervisor.mk 1.1 KB

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