1 ################################################################################
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
= \
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
))
28 define S6_LINUX_INIT_BUILD_CMDS
29 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
)
32 define S6_LINUX_INIT_INSTALL_TARGET_CMDS
33 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
) DESTDIR
=$(TARGET_DIR
) install
36 $(eval
$(generic-package
))