jenkins-core-weekly: update to 2.491
[oi-userland.git] / components / library / ngtcp2 / Makefile
blobb078fafbad7c6edc9d09d5db12479079e186771d
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
5 # 1.0 of the CDDL.
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 2023 Friedrich Kink
15 USE_DEFAULT_TEST_TRANSFORMS= yes
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= ngtcp2
19 COMPONENT_VERSION= 1.0.1
20 COMPONENT_SUMMARY= ngtcp2 project is an effort to implement RFC9000 QUIC protocol
21 COMPONENT_PROJECT_URL= https://ngtcp2.org/
22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
24 COMPONENT_ARCHIVE_HASH= sha256:21c898fa5543d3f2dc203fd0a300a8a7cb70fec21ad7f7a3ec6e119ba4850451
25 COMPONENT_ARCHIVE_URL= https://github.com/ngtcp2/ngtcp2/releases/download/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
26 COMPONENT_FMRI= library/ngtcp2
27 COMPONENT_CLASSIFICATION= System/Libraries
28 COMPONENT_LICENSE= MIT
29 COMPONENT_LICENSE_FILE= COPYING
31 include $(WS_MAKE_RULES)/common.mk
33 # for some reason SPARC needs libsocket, to compile the examples directory.
34 ifeq ($(strip $(MACH)),sparc)
35 CONFIGURE_ENV += LIBS="-lsocket"
36 endif
38 CONFIGURE_OPTIONS += --disable-static
39 CONFIGURE_OPTIONS += --with-gnutls
41 # Manually added dependencies
42 TEST_REQUIRED_PACKAGES += developer/cunit
43 # According to the documentation the following packages are needed to build the examples:
44 REQUIRED_PACKAGES += library/libev
45 REQUIRED_PACKAGES += library/nghttp3
47 # Auto-generated dependencies
48 REQUIRED_PACKAGES += library/gnutls-3
49 REQUIRED_PACKAGES += system/library