openexr: make architecture independent
[oi-userland.git] / components / library / libsigc++ / Makefile
blob92309c3e89aa781aa975b4991d4a9c65e2d08ece
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 2013 Alexander Pyhalov. All rights reserved.
14 # Copyright 2017 Aurelien Larcher. All rights reserved.
17 BUILD_BITS= 32_and_64
18 USE_DEFAULT_TEST_TRANSFORMS= yes
19 include ../../../make-rules/shared-macros.mk
21 COMPONENT_NAME= libsigc++
22 COMPONEN_MAJOR_VERSION= 2.10
23 COMPONENT_VERSION= $(COMPONEN_MAJOR_VERSION).0
24 COMPONENT_REVISION= 1
25 COMPONENT_SUMMARY= Libsigc++ - a library that implements a typesafe callback system for standard C++ (g++ - compiled)
26 COMPONENT_PROJECT_URL = http://libsigc.sourceforge.net
27 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
28 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
29 COMPONENT_ARCHIVE_HASH= sha256:f843d6346260bfcb4426259e314512b99e296e8ca241d771d21ac64f28298d81
30 COMPONENT_ARCHIVE_URL= https://download.gnome.org/sources/libsigc++/$(COMPONEN_MAJOR_VERSION)/$(COMPONENT_ARCHIVE)
31 COMPONENT_FMRI= library/c++/sigcpp
32 COMPONENT_CLASSIFICATION= Development/C++
33 COMPONENT_LICENSE= LGPLv2.1
35 include $(WS_MAKE_RULES)/common.mk
37 # Missing files in build dir for configure without this.
38 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
40 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
41 CONFIGURE_OPTIONS += MAKE=$(GMAKE)
43 # Test failure
44 unexport SHELLOPTS
46 # Auto-generated dependencies
47 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
48 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
49 REQUIRED_PACKAGES += system/library