1 ################################################################################
5 ################################################################################
7 S6_DNS_VERSION
= 2.1.0.0
8 S6_DNS_SITE
= http
://skarnet.org
/software
/s6-dns
10 S6_DNS_LICENSE_FILES
= COPYING
11 S6_DNS_INSTALL_STAGING
= YES
12 S6_DNS_DEPENDENCIES
= skalibs
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
/skalibs \
20 $(if
$(BR2_STATIC_LIBS
),,--disable-allstatic
) \
21 $(SHARED_STATIC_LIBS_OPTS
)
23 define S6_DNS_CONFIGURE_CMDS
24 (cd
$(@D
); $(TARGET_CONFIGURE_OPTS
) .
/configure
$(S6_DNS_CONF_OPTS
))
27 define S6_DNS_BUILD_CMDS
28 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
)
31 define S6_DNS_REMOVE_STATIC_LIB_DIR
32 rm -rf
$(TARGET_DIR
)/usr
/lib
/s6-dns
35 S6_DNS_POST_INSTALL_TARGET_HOOKS
+= S6_DNS_REMOVE_STATIC_LIB_DIR
37 define S6_DNS_INSTALL_TARGET_CMDS
38 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
) DESTDIR
=$(TARGET_DIR
) install
41 define S6_DNS_INSTALL_STAGING_CMDS
42 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
) DESTDIR
=$(STAGING_DIR
) install
45 $(eval
$(generic-package
))