2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2015 Alexander Pyhalov
14 # Copyright 2019 Michal Nowak
15 # Copyright 2022 Niklas Poslovski
17 USE_DEFAULT_TEST_TRANSFORMS
= yes
18 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_NAME
= nghttp2
21 COMPONENT_VERSION
= 1.64.0
23 COMPONENT_SUMMARY
= HTTP
/2 C Library
24 COMPONENT_PROJECT_URL
= https
://nghttp2.org
/
25 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
27 COMPONENT_ARCHIVE_HASH
= sha256
:88bb94c9e4fd1c499967f83dece36a78122af7d5fb40da2019c56b9ccc6eb9dd
28 COMPONENT_ARCHIVE_URL
= https
://github.com
/nghttp2
/nghttp2
/releases
/download
/v
$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
29 COMPONENT_FMRI
= library
/nghttp2
30 COMPONENT_CLASSIFICATION
= System
/Libraries
31 COMPONENT_LICENSE
= MIT
32 COMPONENT_LICENSE_FILE
= COPYING
34 include $(WS_MAKE_RULES
)/common.mk
36 CONFIGURE_OPTIONS
+= --disable-static
37 CONFIGURE_OPTIONS
+= --enable-examples
38 CONFIGURE_OPTIONS
+= --disable-python-bindings
39 CONFIGURE_OPTIONS
+= --disable-app
41 # Manually added dependencies
42 TEST_REQUIRED_PACKAGES
+= developer
/cunit
43 REQUIRED_PACKAGES
+= library
/libev
45 # Auto-generated dependencies
46 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
47 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
48 REQUIRED_PACKAGES
+= $(OPENSSL_PKG
)
49 REQUIRED_PACKAGES
+= library
/jansson
50 REQUIRED_PACKAGES
+= system
/library
51 REQUIRED_PACKAGES
+= system
/library
/math