spirv-headers: add 1.3.280.0
[oi-userland.git] / components / web / wget2 / Makefile
blobfe57362a457c26abd21be0305de6b67cda2d582a
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
21 # Copyright (c) 2023, Andreas Wacknitz
24 OPENSSL_VERSION= 3.1
25 include ../../../make-rules/shared-macros.mk
27 COMPONENT_NAME= wget2
28 COMPONENT_VERSION= 2.1.0
29 COMPONENT_REVISION= 1
30 COMPONENT_SUMMARY= GNU Wget2 is the successor of GNU Wget, a file and recursive website downloader
31 COMPONENT_PROJECT_URL= https://www.gnu.org/software/wget/
32 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
33 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.lz
34 COMPONENT_ARCHIVE_HASH= sha256:bc034194b512bb83ce0171d15a8db33e1c5c3ab8b3e343e1e6f2cf48f9154fad
35 COMPONENT_ARCHIVE_URL= https://ftp.gnu.org/gnu/wget/$(COMPONENT_ARCHIVE)
36 COMPONENT_FMRI= web/$(COMPONENT_NAME)
37 COMPONENT_CLASSIFICATION= Applications/Internet
38 COMPONENT_LICENSE= GPLv3+, LGPLv3+
40 include $(WS_MAKE_RULES)/common.mk
42 # Our idn2 include file is in a separate folder:
43 CPPFLAGS += -I/usr/include/idn2
45 CONFIGURE_OPTIONS += --sysconfdir=/etc
46 CONFIGURE_OPTIONS += --with-ssl=openssl
47 CONFIGURE_OPTIONS += --with-bzip2
48 CONFIGURE_OPTIONS += --with-microhttpd
49 CONFIGURE_OPTIONS += --with-libnghttp2
50 CONFIGURE_OPTIONS += --with-libpcre2
51 CONFIGURE_OPTIONS += --with-lzip
52 CONFIGURE_OPTIONS += --with-lzma
53 CONFIGURE_OPTIONS += --with-zlib
54 CONFIGURE_OPTIONS += --with-zstd
55 CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
56 CONFIGURE_OPTIONS += --disable-static
58 CONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS)"
60 unexport SHELLOPTS
62 COMPONENT_TEST_TRANSFORMS += '-ne "/^TOTAL/p" '
63 COMPONENT_TEST_TRANSFORMS += '-ne "/^PASS/p" '
64 COMPONENT_TEST_TRANSFORMS += '-ne "/^XPASS/p" '
65 COMPONENT_TEST_TRANSFORMS += '-ne "/^FAIL/p" '
66 COMPONENT_TEST_TRANSFORMS += '-ne "/^XFAIL/p" '
67 COMPONENT_TEST_TRANSFORMS += '-ne "/^SKIP/p" '
68 COMPONENT_TEST_TRANSFORMS += '-ne "/^ERROR/p" '
69 COMPONENT_TEST_TRANSFORMS += '-ne "/^===/p" '
70 COMPONENT_TEST_TRANSFORMS += '-ne "/^\# /p" '
71 COMPONENT_TEST_TRANSFORMS += '-ne "/^Testsuite summary/p" '
72 COMPONENT_TEST_TRANSFORMS += '-ne "/^See/p" '
73 COMPONENT_TEST_TRANSFORMS += '-ne "/^Please/p" '
75 # Auto-generated dependencies
76 REQUIRED_PACKAGES += compress/bzip2
77 REQUIRED_PACKAGES += compress/xz
78 REQUIRED_PACKAGES += compress/zstd
79 REQUIRED_PACKAGES += library/brotli
80 REQUIRED_PACKAGES += library/libidn2
81 REQUIRED_PACKAGES += library/libpsl
82 REQUIRED_PACKAGES += library/lzlib
83 REQUIRED_PACKAGES += library/nghttp2
84 REQUIRED_PACKAGES += library/pcre2
85 REQUIRED_PACKAGES += library/security/gpgme
86 REQUIRED_PACKAGES += library/security/openssl-31
87 REQUIRED_PACKAGES += library/zlib
88 REQUIRED_PACKAGES += system/library