Aurelien Larcher
2018-05-22 f5010fe9316920bd94de91639b3b87ffe72ffe4b
commit | author | age
9db04e 1 #
AP 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 #
7c4a87 13 # Copyright 2016 Alexander Pyhalov
9db04e 14 #
AP 15
e06da3 16 include ../../../make-rules/shared-macros.mk
9db04e 17
AP 18 COMPONENT_NAME= glibmm
19
7c4a87 20 COMPONENT_VERSION= 2.43.3
d9d26f 21 COMPONENT_REVISION= 2
0e30c2 22 COMPONENT_SUMMARY= glibmm - C++ Wrapper for the Glib2 Library
9db04e 23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
AP 24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
25 COMPONENT_ARCHIVE_HASH= \
7c4a87 26   sha256:db5b040222685387349f8095b609bfa785be2e6d0d61b75e59b86a6812e10caa
9db04e 27 COMPONENT_ARCHIVE_URL= \
7c4a87 28   http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.43/$(COMPONENT_ARCHIVE)
9db04e 29 COMPONENT_PROJECT_URL = http://www.gtkmm.org/
7c4a87 30 COMPONENT_FMRI = library/c++/glibmm
AP 31 COMPONENT_CLASSIFICATION = Desktop (GNOME)/Libraries
32 COMPONENT_LICENSE = LGPLv2.1
33 COMPONENT_LICENSE_FILE = COPYING
9db04e 34
d9d26f 35 include $(WS_MAKE_RULES)/prep.mk
AP 36 include $(WS_MAKE_RULES)/configure.mk
37 include $(WS_MAKE_RULES)/ips.mk
38
39 CXXFLAGS += -std=c++11
9db04e 40
e06da3 41 COMPONENT_PREP_ACTION = ( cd $(@D) && autoreconf -f -i)
8fa9f5 42
d9d26f 43 PATH=$(PATH.gnu)
9db04e 44
7c4a87 45 # for tests to pass
AP 46 ENV=/usr/bin/env -i
47
9db04e 48 build: $(BUILD_32_and_64)
AP 49
50 install: $(INSTALL_32_and_64)
51
52 test: $(TEST_32_and_64)
7c4a87 53
4c338e 54 # Build dependency
7c4a87 55 REQUIRED_PACKAGES += library/desktop/c++/mm-common
4c338e 56
AL 57 # Auto-generated dependencies
7c4a87 58 REQUIRED_PACKAGES += library/c++/sigcpp
AP 59 REQUIRED_PACKAGES += library/glib2
4c338e 60 REQUIRED_PACKAGES += runtime/perl-522
AL 61 REQUIRED_PACKAGES += runtime/perl-524
7c4a87 62 REQUIRED_PACKAGES += system/library
f5010f 63 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
969846 64 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)