shared-macros.mk: simplify java settings
[oi-userland.git] / components / web / wget2 / Makefile
blob47097a65c6d1bc3f231f36c72b18e8a3a43f072d
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) 2024, Andreas Wacknitz
24 USE_DEFAULT_TEST_TRANSFORMS= yes
25 include ../../../make-rules/shared-macros.mk
27 COMPONENT_NAME= wget2
28 COMPONENT_VERSION= 2.2.0
29 COMPONENT_SUMMARY= GNU Wget2 is the successor of GNU Wget, a file and recursive website downloader
30 COMPONENT_PROJECT_URL= https://www.gnu.org/software/wget/
31 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
32 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.lz
33 COMPONENT_ARCHIVE_HASH= sha256:ffa5e49db90c9ddc0c830b66e473630c679b1b0a26a53d24981d4f0efa1c90b6
34 COMPONENT_ARCHIVE_URL= https://ftp.gnu.org/gnu/wget/$(COMPONENT_ARCHIVE)
35 COMPONENT_FMRI= web/$(COMPONENT_NAME)
36 COMPONENT_CLASSIFICATION= Applications/Internet
37 COMPONENT_LICENSE= GPLv3+, LGPLv3+
39 include $(WS_MAKE_RULES)/common.mk
41 # Our idn2 include file is in a separate folder:
42 CPPFLAGS += -I/usr/include/idn2
44 CPPFLAGS += $(XPG6MODE)
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 += --disable-static
57 CONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS)"
59 COMPONENT_TEST_TRANSFORMS += \
60 ' -e "/=====/p" ' \
61 ' -e "/^Testsuite summary/p" ' \
62 ' -e "/^See/p" ' \
63 ' -e "/^Please/p" '
65 # Auto-generated dependencies
66 REQUIRED_PACKAGES += $(OPENSSL_PKG)
67 REQUIRED_PACKAGES += compress/bzip2
68 REQUIRED_PACKAGES += compress/xz
69 REQUIRED_PACKAGES += compress/zstd
70 REQUIRED_PACKAGES += library/brotli
71 REQUIRED_PACKAGES += library/libidn2
72 REQUIRED_PACKAGES += library/libpsl
73 REQUIRED_PACKAGES += library/lzlib
74 REQUIRED_PACKAGES += library/nghttp2
75 REQUIRED_PACKAGES += library/pcre2
76 REQUIRED_PACKAGES += library/security/gpgme
77 REQUIRED_PACKAGES += library/zlib
78 REQUIRED_PACKAGES += system/library