python/hypothesis: update to 6.121.0
[oi-userland.git] / components / library / libmicrohttpd / Makefile
blob17b0c5bc2d8f194ba97b344cfcae6afef3463a00
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2014 Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 # Copyright 2019 Michal Nowak
14 # Copyright 2023 Karlson2k (Evgeny Grin) <k2k@narod.ru>
17 BUILD_BITS= 64_and_32
18 USE_DEFAULT_TEST_TRANSFORMS= yes
19 include ../../../make-rules/shared-macros.mk
21 COMPONENT_NAME= libmicrohttpd
22 COMPONENT_VERSION= 0.9.77
23 COMPONENT_REVISION= 1
24 COMPONENT_SUMMARY= GNU libmicrohttpd is a small HTTP server as a C library
25 COMPONENT_PROJECT_URL= https://www.gnu.org/software/libmicrohttpd/
26 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
27 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
28 COMPONENT_ARCHIVE_HASH= sha256:9e7023a151120060d2806a6ea4c13ca9933ece4eacfc5c9464d20edddb76b0a0
29 COMPONENT_ARCHIVE_URL= https://ftp.gnu.org/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
30 COMPONENT_SIG_URL= $(COMPONENT_ARCHIVE_URL).sig
31 COMPONENT_FMRI= library/libmicrohttpd
32 COMPONENT_CLASSIFICATION=System/Libraries
33 COMPONENT_LICENSE= LGPL2.1+
35 include $(WS_MAKE_RULES)/common.mk
37 CONFIGURE_OPTIONS += --disable-static
38 # Make sure that HTTPS is enabled
39 CONFIGURE_OPTIONS += --enable-https
41 # Needed for "gmake test" to work successfully.
42 # If SHELLOPTS is exported (as it is by the userland makefiles),
43 # then all shell options get exported to child invocations of bash,
44 # which results in test failures due to nounset set unexpectedly,
45 # and errors such as "libtool_install_magic: unbound variable"
46 unexport SHELLOPTS
48 COMPONENT_TEST_ENV += LD_OPTIONS="$(LD_OPTIONS)"
50 # Auto-generated dependencies
51 REQUIRED_PACKAGES += library/gnutls-3
52 REQUIRED_PACKAGES += system/library