80b1d93d8b
Summary of changes: - execline optional dependency bumped to 2.9.0.1. - skalibs dependency bumped to 2.12.0.0. - nsss optional dependency bumped to 0.2.0.1. - s6-svwait now supports the -r and -R options, to wait for service restarts. - The s6/lock.h, s6/supervise.h and s6/fdholder.h headers replace their previous versions that had an extra s6 prefix. - New binaries: s6-svlink, s6-svunlink, and s6-socklog. License hash updated due to copyright year change. Signed-off-by: Joachim Wiberg <troglobit@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
71 lines
1.7 KiB
Makefile
71 lines
1.7 KiB
Makefile
################################################################################
|
|
#
|
|
# s6
|
|
#
|
|
################################################################################
|
|
|
|
S6_VERSION = 2.11.1.2
|
|
S6_SITE = http://skarnet.org/software/s6
|
|
S6_LICENSE = ISC
|
|
S6_LICENSE_FILES = COPYING
|
|
S6_INSTALL_STAGING = YES
|
|
S6_DEPENDENCIES = execline
|
|
|
|
S6_CONF_OPTS = \
|
|
--prefix=/ \
|
|
--with-sysdeps=$(STAGING_DIR)/lib/skalibs/sysdeps \
|
|
--with-include=$(STAGING_DIR)/include \
|
|
--with-dynlib=$(STAGING_DIR)/lib \
|
|
--with-lib=$(STAGING_DIR)/lib/execline \
|
|
--with-lib=$(STAGING_DIR)/lib/skalibs \
|
|
$(if $(BR2_STATIC_LIBS),,--disable-allstatic) \
|
|
$(SHARED_STATIC_LIBS_OPTS)
|
|
|
|
define S6_CONFIGURE_CMDS
|
|
(cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure $(S6_CONF_OPTS))
|
|
endef
|
|
|
|
define S6_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
|
endef
|
|
|
|
define S6_INSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
|
|
endef
|
|
|
|
define S6_REMOVE_STATIC_LIB_DIR
|
|
rm -rf $(TARGET_DIR)/usr/lib/s6
|
|
endef
|
|
|
|
S6_POST_INSTALL_TARGET_HOOKS += S6_REMOVE_STATIC_LIB_DIR
|
|
|
|
define S6_INSTALL_STAGING_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install
|
|
endef
|
|
|
|
HOST_S6_DEPENDENCIES = host-execline
|
|
|
|
HOST_S6_CONF_OPTS = \
|
|
--prefix=$(HOST_DIR) \
|
|
--with-sysdeps=$(HOST_DIR)/lib/skalibs/sysdeps \
|
|
--with-include=$(HOST_DIR)/include \
|
|
--with-dynlib=$(HOST_DIR)/lib \
|
|
--disable-static \
|
|
--enable-shared \
|
|
--disable-allstatic
|
|
|
|
define HOST_S6_CONFIGURE_CMDS
|
|
(cd $(@D); $(HOST_CONFIGURE_OPTS) ./configure $(HOST_S6_CONF_OPTS))
|
|
endef
|
|
|
|
define HOST_S6_BUILD_CMDS
|
|
$(HOST_MAKE_ENV) $(MAKE) -C $(@D)
|
|
endef
|
|
|
|
define HOST_S6_INSTALL_CMDS
|
|
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) install-dynlib install-include
|
|
endef
|
|
|
|
$(eval $(generic-package))
|
|
$(eval $(host-generic-package))
|