json-glib: update to 1.10.6
[oi-userland.git] / components / library / ldns / Makefile
blob2f3a78f0ae173d72e0eace2fdcc5613956664a98
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
11 # Copyright (c) 2016, Adam Stevko <adam.stevko@gmail.com>
13 include ../../../make-rules/shared-macros.mk
15 COMPONENT_NAME= ldns
16 COMPONENT_VERSION= 1.8.4
17 COMPONENT_SUMMARY= The goal of ldns is to simplify DNS programming in C
18 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
19 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
20 COMPONENT_ARCHIVE_HASH= sha256:838b907594baaff1cd767e95466a7745998ae64bc74be038dccc62e2de2e4247
21 COMPONENT_PROJECT_URL= https://www.nlnetlabs.nl/projects/ldns/
22 COMPONENT_ARCHIVE_URL= https://www.nlnetlabs.nl/downloads/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
23 COMPONENT_FMRI= library/dns/$(COMPONENT_NAME)
24 COMPONENT_CLASSIFICATION= Applications/System Utilities
25 COMPONENT_LICENSE= BSD
26 COMPONENT_LICENSE_FILE= LICENSE
28 TEST_TARGET= $(NO_TESTS)
29 include $(WS_MAKE_RULES)/common.mk
31 CFLAGS += -I$(OPENSSL_INCDIR)
32 CFLAGS += $(XPG7MODE)
33 LDFLAGS += -L$(OPENSSL_LIBDIR)
35 # Missing files in build dir for tests without this.
36 COMPONENT_PRE_CONFIGURE_ACTION= ( $(CLONEY) $(SOURCE_DIR) $(@D) )
38 CONFIGURE_OPTIONS += --with-examples
39 CONFIGURE_OPTIONS += --with-drill
40 CONFIGURE_OPTIONS += --disable-static
41 CONFIGURE_OPTIONS += --with-ssl=$(OPENSSL_PREFIX)
43 # Auto-generated dependencies
44 REQUIRED_PACKAGES += $(OPENSSL_PKG)
45 REQUIRED_PACKAGES += shell/ksh93
46 REQUIRED_PACKAGES += system/library
47 REQUIRED_PACKAGES += system/library/libpcap