generated from gaoyang3513/SDK_RK3288
[Mod] First commit
This commit is contained in:
13
package/s6-networking/Config.in
Normal file
13
package/s6-networking/Config.in
Normal file
@ -0,0 +1,13 @@
|
||||
config BR2_PACKAGE_S6_NETWORKING
|
||||
bool "s6-networking"
|
||||
depends on BR2_USE_MMU # s6
|
||||
select BR2_PACKAGE_S6_DNS
|
||||
select BR2_PACKAGE_S6
|
||||
help
|
||||
s6-networking is a suite of small networking utilities for
|
||||
Unix systems. It includes command-line client and server
|
||||
management, TCP access control, privilege escalation across
|
||||
UNIX domain sockets, IDENT protocol management and clock
|
||||
synchronization.
|
||||
|
||||
http://skarnet.org/software/s6-networking/
|
||||
3
package/s6-networking/s6-networking.hash
Normal file
3
package/s6-networking/s6-networking.hash
Normal file
@ -0,0 +1,3 @@
|
||||
# Locally generated
|
||||
sha256 a3fbca789dc5c82b3055fdbd2f55110902198f3136447617ce8f8b79fa8aa554 s6-networking-2.4.1.1.tar.gz
|
||||
sha256 adecb8bedfaae27fcfe65ecb3ef0e2e71aa2a2b49dc21886a200bc677d93e6ec COPYING
|
||||
56
package/s6-networking/s6-networking.mk
Normal file
56
package/s6-networking/s6-networking.mk
Normal file
@ -0,0 +1,56 @@
|
||||
################################################################################
|
||||
#
|
||||
# s6-networking
|
||||
#
|
||||
################################################################################
|
||||
|
||||
S6_NETWORKING_VERSION = 2.4.1.1
|
||||
S6_NETWORKING_SITE = http://skarnet.org/software/s6-networking
|
||||
S6_NETWORKING_LICENSE = ISC
|
||||
S6_NETWORKING_LICENSE_FILES = COPYING
|
||||
S6_NETWORKING_INSTALL_STAGING = YES
|
||||
S6_NETWORKING_DEPENDENCIES = s6-dns s6
|
||||
|
||||
S6_NETWORKING_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/s6 \
|
||||
--with-lib=$(STAGING_DIR)/lib/s6-dns \
|
||||
--with-lib=$(STAGING_DIR)/lib/skalibs \
|
||||
$(if $(BR2_STATIC_LIBS),,--disable-allstatic) \
|
||||
$(SHARED_STATIC_LIBS_OPTS)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBRESSL),y)
|
||||
S6_NETWORKING_CONF_OPTS += --enable-ssl=libressl
|
||||
S6_NETWORKING_DEPENDENCIES += libressl
|
||||
else ifeq ($(BR2_PACKAGE_BEARSSL),y)
|
||||
S6_NETWORKING_CONF_OPTS += --enable-ssl=bearssl
|
||||
S6_NETWORKING_DEPENDENCIES += bearssl
|
||||
endif
|
||||
|
||||
define S6_NETWORKING_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure $(S6_NETWORKING_CONF_OPTS))
|
||||
endef
|
||||
|
||||
define S6_NETWORKING_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define S6_NETWORKING_REMOVE_STATIC_LIB_DIR
|
||||
rm -rf $(TARGET_DIR)/usr/lib/s6-networking
|
||||
endef
|
||||
|
||||
S6_NETWORKING_POST_INSTALL_TARGET_HOOKS += S6_NETWORKING_REMOVE_STATIC_LIB_DIR
|
||||
|
||||
define S6_NETWORKING_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
|
||||
endef
|
||||
|
||||
define S6_NETWORKING_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user