Needed by freeswitch. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
37 lines
852 B
Makefile
37 lines
852 B
Makefile
################################################################################
|
|
#
|
|
# libldns
|
|
#
|
|
################################################################################
|
|
|
|
LIBLDNS_VERSION = 1.6.17
|
|
LIBLDNS_SOURCE = ldns-$(LIBLDNS_VERSION).tar.gz
|
|
LIBLDNS_SITE = http://www.nlnetlabs.nl/downloads/ldns
|
|
LIBLDNS_LICENSE = BSD-3c
|
|
LIBLDNS_LICENSE_FILES = LICENSE
|
|
LIBLDNS_INSTALL_STAGING = YES
|
|
LIBLDNS_CONF_OPTS = \
|
|
--without-examples \
|
|
--without-p5-dns-ldns \
|
|
--without-pyldns \
|
|
--without-pyldnsx
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
LIBLDNS_DEPENDENCIES += host-pkgconf openssl
|
|
LIBLDNS_CONF_OPTS += \
|
|
--with-ssl=$(STAGING_DIR)/usr \
|
|
--enable-dane \
|
|
--enable-ecdsa \
|
|
--enable-gost \
|
|
--enable-sha2
|
|
else
|
|
LIBLDNS_CONF_OPTS += \
|
|
--without-ssl \
|
|
--disable-dane \
|
|
--disable-ecdsa \
|
|
--disable-gost \
|
|
--disable-sha2
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|