python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / s6-networking / s6-networking.mk
blob47d4d61516af8cbcd1ce1a93c3dc1540308ac205
1 ################################################################################
3 # s6-networking
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 = \
15 --prefix=/usr \
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))
28 endef
30 define S6_NETWORKING_BUILD_CMDS
31 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
32 endef
34 define S6_NETWORKING_REMOVE_STATIC_LIB_DIR
35 rm -rf $(TARGET_DIR)/usr/lib/s6-networking
36 endef
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
42 endef
44 define S6_NETWORKING_INSTALL_STAGING_CMDS
45 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install
46 endef
48 $(eval $(generic-package))