python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / s6-linux-init / s6-linux-init.mk
blob112e17645d4288f02f38a2c77116520e8c84cdef
1 ################################################################################
3 # s6-linux-init
5 ################################################################################
7 S6_LINUX_INIT_VERSION = 0.2.0.0
8 S6_LINUX_INIT_SITE = http://skarnet.org/software/s6-linux-init
9 S6_LINUX_INIT_LICENSE = ISC
10 S6_LINUX_INIT_LICENSE_FILES = COPYING
11 S6_LINUX_INIT_DEPENDENCIES = s6 s6-linux-utils s6-portable-utils
13 S6_LINUX_INIT_CONF_OPTS = \
14 --prefix=/usr \
15 --with-sysdeps=$(STAGING_DIR)/usr/lib/skalibs/sysdeps \
16 --with-include=$(STAGING_DIR)/usr/include \
17 --with-dynlib=$(STAGING_DIR)/usr/lib \
18 --with-lib=$(STAGING_DIR)/usr/lib/execline \
19 --with-lib=$(STAGING_DIR)/usr/lib/s6 \
20 --with-lib=$(STAGING_DIR)/usr/lib/skalibs \
21 $(if $(BR2_STATIC_LIBS),,--disable-allstatic) \
22 $(SHARED_STATIC_LIBS_OPTS)
24 define S6_LINUX_INIT_CONFIGURE_CMDS
25 (cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure $(S6_LINUX_INIT_CONF_OPTS))
26 endef
28 define S6_LINUX_INIT_BUILD_CMDS
29 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
30 endef
32 define S6_LINUX_INIT_INSTALL_TARGET_CMDS
33 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
34 endef
36 $(eval $(generic-package))