1 ################################################################################
5 ################################################################################
7 S6_NETWORKING_VERSION
= 2.2.1.0
8 S6_NETWORKING_SITE
= http
://skarnet.org
/software
/s6-networking
9 S6_NETWORKING_LICENSE
= ISC
10 S6_NETWORKING_LICENSE_FILES
= COPYING
11 S6_NETWORKING_INSTALL_STAGING
= YES
12 S6_NETWORKING_DEPENDENCIES
= s6-dns s6
14 S6_NETWORKING_CONF_OPTS
= \
16 --with-sysdeps
=$(STAGING_DIR
)/usr
/lib
/skalibs
/sysdeps \
17 --with-include
=$(STAGING_DIR
)/usr
/include \
18 --with-dynlib
=$(STAGING_DIR
)/usr
/lib \
19 --with-lib
=$(STAGING_DIR
)/usr
/lib
/execline \
20 --with-lib
=$(STAGING_DIR
)/usr
/lib
/s6 \
21 --with-lib
=$(STAGING_DIR
)/usr
/lib
/s6-dns \
22 --with-lib
=$(STAGING_DIR
)/usr
/lib
/skalibs \
23 $(if
$(BR2_STATIC_LIBS
),,--disable-allstatic
) \
24 $(SHARED_STATIC_LIBS_OPTS
)
26 define S6_NETWORKING_CONFIGURE_CMDS
27 (cd
$(@D
); $(TARGET_CONFIGURE_OPTS
) .
/configure
$(S6_NETWORKING_CONF_OPTS
))
30 define S6_NETWORKING_BUILD_CMDS
31 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
)
34 define S6_NETWORKING_REMOVE_STATIC_LIB_DIR
35 rm -rf
$(TARGET_DIR
)/usr
/lib
/s6-networking
38 S6_NETWORKING_POST_INSTALL_TARGET_HOOKS
+= S6_NETWORKING_REMOVE_STATIC_LIB_DIR
40 define S6_NETWORKING_INSTALL_TARGET_CMDS
41 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
) DESTDIR
=$(TARGET_DIR
) install
44 define S6_NETWORKING_INSTALL_STAGING_CMDS
45 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
) DESTDIR
=$(STAGING_DIR
) install
48 $(eval
$(generic-package
))