libsoup3: update to 3.6.0; fix GTK2/3 app startup
[oi-userland.git] / components / developer / check / Makefile
blob48e7917cf9b48158ce511db7a5ad2996cec2ff9f
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 2014-2017 Aurelien Larcher. All rights reserved.
14 # Copyright 2020, Michal Nowak
17 BUILD_BITS= 32_and_64
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= check
21 COMPONENT_VERSION= 0.15.2
22 COMPONENT_FMRI= developer/check
23 COMPONENT_SUMMARY= Unit Testing Framework for C
24 COMPONENT_PROJECT_URL= https://libcheck.github.io/check
25 COMPONENT_CLASSIFICATION=Development/C
26 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
27 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
28 COMPONENT_ARCHIVE_HASH= sha256:a8de4e0bacfb4d76dd1c618ded263523b53b85d92a146d8835eb1a52932fa20a
29 COMPONENT_ARCHIVE_URL= https://github.com/libcheck/check/releases/download/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
30 COMPONENT_LICENSE= LGPLv2
32 include $(WS_MAKE_RULES)/common.mk
34 CFLAGS+=-std=gnu99
36 CONFIGURE_OPTIONS+= --includedir=$(CONFIGURE_PREFIX)/include/check
37 CONFIGURE_OPTIONS+= --enable-shared
38 CONFIGURE_OPTIONS+= --disable-static
39 CONFIGURE_OPTIONS+= --disable-gcov
40 CONFIGURE_OPTIONS+= --enable-timeout-tests
41 # Needed to get all the tests to pass (problems with "inf/nan" vs "Inf/Nan").
42 CONFIGURE_OPTIONS+= --enable-snprintf-replacement
44 # Tests failure
45 unexport SHELLOPTS
47 COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
49 COMPONENT_TEST_TRANSFORMS += \
50 '-n ' \
51 '-e "/TOTAL:/p" ' \
52 '-e "/SKIP:/p" ' \
53 '-e "/PASS:/p" ' \
54 '-e "/FAIL:/p" ' \
55 '-e "/ERROR:/p" '
57 # Auto-generated dependencies
58 REQUIRED_PACKAGES += system/library
59 REQUIRED_PACKAGES += system/library/math
60 REQUIRED_PACKAGES += text/gawk