#
|
# This file and its contents are supplied under the terms of the
|
# Common Development and Distribution License ("CDDL"), version 1.0.
|
# You may only use this file in accordance with the terms of version
|
# 1.0 of the CDDL.
|
#
|
# A full copy of the text of the CDDL should have accompanied this
|
# source. A copy of the CDDL is also available via the Internet at
|
# http://www.illumos.org/license/CDDL.
|
#
|
|
#
|
# Copyright 2015 Alexander Pyhalov
|
# Copyright 2019 Michal Nowak
|
# Copyright 2022 Niklas Poslovski
|
#
|
OPENSSL_VERSION= 3.1
|
USE_DEFAULT_TEST_TRANSFORMS= yes
|
include ../../../make-rules/shared-macros.mk
|
|
COMPONENT_NAME= nghttp2
|
COMPONENT_VERSION= 1.61.0
|
COMPONENT_SUMMARY= HTTP/2 C Library
|
COMPONENT_PROJECT_URL= https://nghttp2.org/
|
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
|
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
|
COMPONENT_ARCHIVE_HASH= sha256:c0e660175b9dc429f11d25b9507a834fb752eea9135ab420bb7cb7e9dbcc9654
|
COMPONENT_ARCHIVE_URL= https://github.com/nghttp2/nghttp2/releases/download/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
|
COMPONENT_FMRI= library/nghttp2
|
COMPONENT_CLASSIFICATION= System/Libraries
|
COMPONENT_LICENSE= MIT
|
COMPONENT_LICENSE_FILE= COPYING
|
|
include $(WS_MAKE_RULES)/common.mk
|
|
CONFIGURE_OPTIONS += --disable-static
|
CONFIGURE_OPTIONS += --enable-examples
|
CONFIGURE_OPTIONS += --disable-python-bindings
|
CONFIGURE_OPTIONS += --disable-app
|
|
# Manually added dependencies
|
TEST_REQUIRED_PACKAGES += developer/cunit
|
REQUIRED_PACKAGES += library/libev
|
|
# Auto-generated dependencies
|
REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
|
REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
|
REQUIRED_PACKAGES += library/jansson
|
REQUIRED_PACKAGES += library/security/openssl-31
|
REQUIRED_PACKAGES += system/library
|
REQUIRED_PACKAGES += system/library/math
|