ORBit2: Fix dependency to library/glib2/32
[oi-userland.git] / components / library / gnutls / Makefile
bloba6d414521824a34d6511722ba122513cf2d70d06
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
23 # Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
24 # Copyright (c) 2019, Michal Nowak
25 # Copyright (c) 2022, Andreas Wacknitz
26 # Copyright (c) 2022, Niklas Poslovski
29 USE_DEFAULT_TEST_TRANSFORMS= yes
30 USE_PARALLEL_BUILD= yes
31 include ../../../make-rules/shared-macros.mk
33 COMPONENT_NAME= gnutls
34 COMPONENT_MJR_VERSION= 3.8
35 COMPONENT_VERSION= $(COMPONENT_MJR_VERSION).8
36 COMPONENT_SUMMARY= GNU transport layer security library
37 COMPONENT_PROJECT_URL= https://gnutls.org/
38 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
39 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
40 COMPONENT_ARCHIVE_URL= https://www.gnupg.org/ftp/gcrypt/gnutls/v$(COMPONENT_MJR_VERSION)/$(COMPONENT_ARCHIVE)
41 COMPONENT_ARCHIVE_HASH= sha256:ac4f020e583880b51380ed226e59033244bc536cad2623f2e26f5afa2939d8fb
42 #COMPONENT_SIG_URL= $(COMPONENT_ARCHIVE_URL).sig
43 COMPONENT_FMRI= library/gnutls-3
44 COMPONENT_CLASSIFICATION= System/Libraries
45 COMPONENT_LICENSE= GPLv3, LGPLv2.1, FDLv1.3
47 include $(WS_MAKE_RULES)/common.mk
49 CFLAGS += -I$(USRINCDIR)/idn2
51 PATH= $(PATH.gnu)
53 CONFIGURE_OPTIONS += --disable-dependency-tracking
54 CONFIGURE_OPTIONS += --with-default-trust-store-file=/etc/certs/ca-certificates.crt
55 CONFIGURE_OPTIONS += --with-default-trust-store-dir=/etc/certs/CA
57 # usr/share/info/dir is provided by text/texinfo
58 COMPONENT_POST_INSTALL_ACTION += $(RM) $(PROTOUSRSHAREDIR)/info/dir ;
60 COMPONENT_TEST_ENV += PATH=$(PATH.gnu)
62 # Manually added dependencies
63 TEST_REQUIRED_PACKAGES += security/softhsm
65 # Auto-generated dependencies
66 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
67 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
68 REQUIRED_PACKAGES += library/desktop/p11-kit
69 REQUIRED_PACKAGES += library/gmp
70 REQUIRED_PACKAGES += library/libidn2
71 REQUIRED_PACKAGES += library/libtasn1
72 REQUIRED_PACKAGES += library/libunistring
73 REQUIRED_PACKAGES += library/nettle
74 REQUIRED_PACKAGES += service/network/unbound
75 REQUIRED_PACKAGES += system/library
76 REQUIRED_PACKAGES += system/library/math