python/pytest-regressions: update to 2.6.0
[oi-userland.git] / components / developer / cppunit / Makefile
blob114c29a6dccae885483f814e4a65730ec827ca08
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 (c) 2013, Igor Kozhukhov <ikozhukhov@gmail.com>. All rights reserved.
14 # Copyright (c) 2020, Andreas Wacknitz
17 BUILD_BITS= 64_and_32
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= cppunit
21 COMPONENT_VERSION= 1.15.1
22 COMPONENT_REVISION= 2
23 COMPONENT_SUMMARY= Unit Testing Library for C++
24 COMPONENT_PROJECT_URL= https://www.freedesktop.org/wiki/Software/cppunit/
25 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
26 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
27 COMPONENT_ARCHIVE_HASH= sha256:89c5c6665337f56fd2db36bc3805a5619709d51fb136e51937072f63fcc717a7
28 COMPONENT_ARCHIVE_URL= https://dev-www.libreoffice.org/src/$(COMPONENT_ARCHIVE)
29 COMPONENT_FMRI= developer/cppunit
30 COMPONENT_CLASSIFICATION=Development/C++
31 COMPONENT_LICENSE= LGPLv2.1
32 COMPONENT_LICENSE_FILE= COPYING
34 include $(WS_MAKE_RULES)/common.mk
36 CONFIGURE_OPTIONS += --disable-static
37 CONFIGURE_OPTIONS += --enable-shared
38 CONFIGURE_OPTIONS += --disable-doxygen
40 # Tests failure
41 unexport SHELLOPTS
43 COMPONENT_TEST_ENV += LANG=C
45 COMPONENT_TEST_TRANSFORMS += \
46 '-e "/CXX/d"' \
47 '-e "/[mM]ake/d"' \
48 '-e "/^[mM]aking/d"' \
49 '-e "s|make.*: Leaving directory.*$$|XXX_REMOVE_XXX|g" ' \
50 '-e "s|make.*: Entering directory.*$$|XXX_REMOVE_XXX|g" ' \
51 '-e "s|make.*: Nothing to be done.*$$|XXX_REMOVE_XXX|g" ' \
52 '-e "/^XXX_REMOVE_XXX$$/d" '
54 # Auto-generated dependencies
55 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
56 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
57 REQUIRED_PACKAGES += system/library