Marcel Telka
2022-01-31 b7ef23180b8258d99f0990e953e0eddbaaab32a5
commit | author | age
b34e3c 1 #
AL 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 2013 Alexander Pyhalov.  All rights reserved.
14 # Copyright 2017 Aurelien Larcher.  All rights reserved.
15 #
16
17 include ../../../make-rules/shared-macros.mk
18
19 COMPONENT_NAME= libsigc++
20 COMPONEN_MAJOR_VERSION=    2.10
21 COMPONENT_VERSION= $(COMPONEN_MAJOR_VERSION).0
22 COMPONENT_FMRI= library/c++/sigcpp
23 COMPONENT_SUMMARY= Libsigc++ - a library that implements a typesafe callback system for standard C++ (g++ - compiled)
24 COMPONENT_CLASSIFICATION=    Development/C++ 
25 COMPONENT_PROJECT_URL = http://libsigc.sourceforge.net
26 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
27 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
28 COMPONENT_ARCHIVE_HASH= \
29   sha256:f843d6346260bfcb4426259e314512b99e296e8ca241d771d21ac64f28298d81
30 COMPONENT_ARCHIVE_URL= \
b7ef23 31   https://download.gnome.org/sources/libsigc++/$(COMPONEN_MAJOR_VERSION)/$(COMPONENT_ARCHIVE)
b34e3c 32 COMPONENT_LICENSE= LGPLv2.1 
AL 33
34 include $(WS_MAKE_RULES)/prep.mk
35 include $(WS_MAKE_RULES)/configure.mk
36 include $(WS_MAKE_RULES)/ips.mk
37
38 # Missing files in build dir for configure without this.
39 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))  
40
41 CONFIGURE_OPTIONS+= --sysconfdir=$(ETCDIR)
42 CONFIGURE_OPTIONS +=    MAKE=$(GMAKE)
43
44
45
46 # Test failure
47 unexport SHELLOPTS
48
49 COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
50
51 COMPONENT_TEST_TRANSFORMS += \
52      '-n ' \
53     '-e "/TOTAL/p" ' \
54     '-e "/SKIP/p" ' \
55     '-e "/PASS/p" ' \
56     '-e "/FAIL/p" ' \
57     '-e "/ERROR/p" '
58
59 build: $(BUILD_32_and_64)
60
61 install: $(INSTALL_32_and_64)
62
63 test: $(TEST_32_and_64)
64
65 # Auto-generated dependencies
66 REQUIRED_PACKAGES += system/library
f5010f 67 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
969846 68 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)