initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_S6_DNS
|
||||
bool "s6-dns"
|
||||
depends on BR2_USE_MMU # skalibs
|
||||
select BR2_PACKAGE_SKALIBS
|
||||
help
|
||||
s6-dns is a suite of DNS client programs and libraries for
|
||||
Unix systems, as an alternative to the BIND, djbdns or other
|
||||
DNS clients.
|
||||
|
||||
http://skarnet.org/software/s6-dns/
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally generated
|
||||
sha256 0c1d50e5d7bc65cbf59b6f37fbd7f6f5645694224bb8c4dc1943d7921bc74f63 s6-dns-2.3.5.1.tar.gz
|
||||
sha256 adecb8bedfaae27fcfe65ecb3ef0e2e71aa2a2b49dc21886a200bc677d93e6ec COPYING
|
||||
@@ -0,0 +1,45 @@
|
||||
################################################################################
|
||||
#
|
||||
# s6-dns
|
||||
#
|
||||
################################################################################
|
||||
|
||||
S6_DNS_VERSION = 2.3.5.1
|
||||
S6_DNS_SITE = http://skarnet.org/software/s6-dns
|
||||
S6_DNS_LICENSE = ISC
|
||||
S6_DNS_LICENSE_FILES = COPYING
|
||||
S6_DNS_INSTALL_STAGING = YES
|
||||
S6_DNS_DEPENDENCIES = skalibs
|
||||
|
||||
S6_DNS_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/skalibs \
|
||||
$(if $(BR2_STATIC_LIBS),,--disable-allstatic) \
|
||||
$(SHARED_STATIC_LIBS_OPTS)
|
||||
|
||||
define S6_DNS_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure $(S6_DNS_CONF_OPTS))
|
||||
endef
|
||||
|
||||
define S6_DNS_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define S6_DNS_REMOVE_STATIC_LIB_DIR
|
||||
rm -rf $(TARGET_DIR)/usr/lib/s6-dns
|
||||
endef
|
||||
|
||||
S6_DNS_POST_INSTALL_TARGET_HOOKS += S6_DNS_REMOVE_STATIC_LIB_DIR
|
||||
|
||||
define S6_DNS_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
|
||||
endef
|
||||
|
||||
define S6_DNS_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user