Marcel Telka
2024-04-08 5d8bcb58722b250c296fc0324f9d06470fb3d7d0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
 
#
# Copyright (c) 2013, Igor Kozhukhov <ikozhukhov@gmail.com>.  All rights reserved.
# Copyright (c) 2020, Andreas Wacknitz
#
 
BUILD_BITS= 64_and_32
include ../../../make-rules/shared-macros.mk
 
COMPONENT_NAME=            cppunit
COMPONENT_VERSION=        1.15.1
COMPONENT_REVISION=        2
COMPONENT_SUMMARY=        Unit Testing Library for C++
COMPONENT_PROJECT_URL=    https://www.freedesktop.org/wiki/Software/cppunit/
COMPONENT_SRC=            $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE=        $(COMPONENT_SRC).tar.gz
COMPONENT_ARCHIVE_HASH= sha256:89c5c6665337f56fd2db36bc3805a5619709d51fb136e51937072f63fcc717a7
COMPONENT_ARCHIVE_URL=    https://dev-www.libreoffice.org/src/$(COMPONENT_ARCHIVE)
COMPONENT_FMRI=            developer/cppunit
COMPONENT_CLASSIFICATION=Development/C++
COMPONENT_LICENSE=        LGPLv2.1
COMPONENT_LICENSE_FILE=    COPYING
 
include $(WS_MAKE_RULES)/common.mk
 
CONFIGURE_OPTIONS += --disable-static
CONFIGURE_OPTIONS += --enable-shared
CONFIGURE_OPTIONS += --disable-doxygen
 
# Tests failure
unexport SHELLOPTS
 
COMPONENT_TEST_ENV += LANG=C
 
COMPONENT_TEST_TRANSFORMS += \
    '-e "/CXX/d"' \
    '-e "/[mM]ake/d"' \
    '-e "/^[mM]aking/d"' \
    '-e "s|make.*: Leaving directory.*$$|XXX_REMOVE_XXX|g" ' \
    '-e "s|make.*: Entering directory.*$$|XXX_REMOVE_XXX|g" ' \
    '-e "s|make.*: Nothing to be done.*$$|XXX_REMOVE_XXX|g" ' \
    '-e "/^XXX_REMOVE_XXX$$/d" '
 
# Auto-generated dependencies
REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
REQUIRED_PACKAGES += system/library