vim: update to 9.1.0984
[oi-userland.git] / components / library / libsigc++3 / Makefile
blobb4de26b2a7c81bc5c79226f6575e0e03e5d9f4eb
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 2021 Andreas Wacknitz
14 # Copyright 2023 Friedrich Kink
17 BUILD_BITS= 64
18 BUILD_STYLE= meson
19 include ../../../make-rules/shared-macros.mk
21 COMPONENT_NAME= libsigc++
22 COMPONEN_MAJOR_VERSION= 3.6
23 COMPONENT_VERSION= $(COMPONEN_MAJOR_VERSION).0
24 COMPONENT_SUMMARY= Libsigc++ - a library that implements a typesafe callback system for standard C++
25 COMPONENT_PROJECT_URL= https://libsigc.sourceforge.net
26 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
27 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
28 COMPONENT_ARCHIVE_HASH= sha256:c3d23b37dfd6e39f2e09f091b77b1541fbfa17c4f0b6bf5c89baef7229080e17
29 COMPONENT_ARCHIVE_URL= https://download.gnome.org/sources/libsigc++/$(COMPONEN_MAJOR_VERSION)/$(COMPONENT_ARCHIVE)
30 COMPONENT_FMRI= library/c++/sigcpp3
31 COMPONENT_CLASSIFICATION=Development/C++
32 COMPONENT_LICENSE= LGPLv3
33 COMPONENT_LICENSE_FILE= COPYING
35 include $(WS_MAKE_RULES)/common.mk
37 CONFIGURE_OPTIONS += -Dbuild-documentation=true
39 # Prevent test failure:
40 unexport SHELLOPTS
42 COMPONENT_TEST_ENV += LD_LIBRARY_PATH="$(PROTOUSRLIBDIR):$(PROTOUSRLIBDIR64):"
44 COMPONENT_TEST_TRANSFORMS += '-e "s/[0-9]*\.[0-9]*s//" '
45 COMPONENT_TEST_TRANSFORMS += '-e "/^Full log written.*/d" '
47 # The tests need $(PROTOUSRLIBDIR) and $(PROTOUSRLIBDIR64) and pre-publish provides them:
48 test: pre-publish
50 # Auto-generated dependencies
51 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
52 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
53 REQUIRED_PACKAGES += system/library