6bd64a9a21ecb18817acee939f22cbe10ce59502
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / supervisor / supervisor.mk
1 ################################################################################
2 #
3 # supervisor
4 #
5 ################################################################################
6
7 SUPERVISOR_VERSION = 3.0a12
8 SUPERVISOR_SITE = http://pypi.python.org/packages/source/s/supervisor
9 SUPERVISOR_LICENSE_FILES = LICENSES.txt
10 SUPERVISOR_SETUP_TYPE = setuptools
11
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
18 SUPERVISOR_POST_INSTALL_TARGET_HOOKS += SUPERVISOR_INSTALL_CONF_FILES
19
20 define SUPERVISOR_INSTALL_INIT_SYSV
21         $(INSTALL) -D -m 755 package/supervisor/S99supervisord \
22                 $(TARGET_DIR)/etc/init.d/S99supervisord
23 endef
24
25 $(eval $(python-package))