Marcel Telka
2022-01-31 b7ef23180b8258d99f0990e953e0eddbaaab32a5
commit | author | age
00a224 1 #
AW 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.
6 #
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.
10 #
11
12 #
13 # Copyright 2021 Andreas Wacknitz
14 #
15
16 BUILD_BITS= 32_and_64
17 BUILD_STYLE= meson
18 include ../../../make-rules/shared-macros.mk
19
20 COMPONENT_NAME=     libsigc++
21 COMPONEN_MAJOR_VERSION=    3.0
22 COMPONENT_VERSION= $(COMPONEN_MAJOR_VERSION).6
23 COMPONENT_FMRI= library/c++/sigcpp3
24 COMPONENT_SUMMARY= Libsigc++ - a library that implements a typesafe callback system for standard C++
25 COMPONENT_CLASSIFICATION=    Development/C++ 
26 COMPONENT_PROJECT_URL = https://libsigc.sourceforge.net
27 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
28 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
29 COMPONENT_ARCHIVE_HASH= sha256:b70edcf4611651c54a426e109b17196e1fa17da090592a5000e2d134c03ac5ce
b7ef23 30 COMPONENT_ARCHIVE_URL=    https://download.gnome.org/sources/libsigc++/$(COMPONEN_MAJOR_VERSION)/$(COMPONENT_ARCHIVE)
00a224 31 COMPONENT_LICENSE= LGPLv3 
AW 32
33 include $(WS_MAKE_RULES)/common.mk
34
35 CONFIGURE_OPTIONS += -Dbuild-documentation=true
36
37 # Prevent test failure:
38 unexport SHELLOPTS
39
40 COMPONENT_TEST_ENV += LD_LIBRARY_PATH="$(PROTOUSRLIBDIR):$(PROTOUSRLIBDIR64):"
41
42 # The tests need $(PROTOUSRLIBDIR) and $(PROTOUSRLIBDIR64) and pre-publish provides them:
43 test: pre-publish
44
45 # Auto-generated dependencies
46 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
47 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
48 REQUIRED_PACKAGES += system/library