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
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 2016 Alexander Pyhalov
14 # Copyright 2018 Michal Nowak
15 # Copyright 2023 Friedrich Kink
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= mm-common
22 COMPONENT_VERSION
= 1.0.6
24 COMPONENT_SUMMARY
= GNOME C
++ bindings effort https
://www.gtkmm.org support tools
25 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
27 COMPONENT_ARCHIVE_HASH
= sha256
:b55c46037dbcdabc5cee3b389ea11cc3910adb68ebe883e9477847aa660862e7
28 COMPONENT_ARCHIVE_URL
= https
://download.gnome.org
/sources
/$(COMPONENT_NAME
)/1.0/$(COMPONENT_ARCHIVE
)
29 COMPONENT_PROJECT_URL
= https
://www.gnome.org
30 COMPONENT_FMRI
= library
/desktop
/c
++/mm-common
31 COMPONENT_CLASSIFICATION
=Desktop
(GNOME
)/Libraries
32 COMPONENT_LICENSE
= GPLv2
33 COMPONENT_LICENSE_FILE
= COPYING
35 TEST_TARGET
= $(NO_TESTS
)
37 include $(WS_MAKE_RULES
)/common.mk
41 COMPONENT_PRE_CONFIGURE_ACTION
+= ( \
44 $(CLONEY
) $(SOURCE_DIR
) $(@D
); \
48 CONFIGURE_OPTIONS
+= --sysconfdir
=$(ETCDIR
)
49 CONFIGURE_OPTIONS
+= --libexecdir
=$(USRLIBEXECDIR
)
52 COMPONENT_POST_INSTALL_ACTION
= ( \
53 $(GSED
) -i
-e
's:env python3:python$(PYTHON_VERSION):' $(PROTOUSRBINDIR
)/mm-common-get
; \
54 $(GSED
) -i
-e
's:@datadir_py@:/usr/share:' $(PROTOUSRBINDIR
)/mm-common-get
; \
55 $(GSED
) -i
-e
's:env python3:python$(PYTHON_VERSION):' $(PROTOUSRSHAREDIR
)/mm-common
/build
/*.py
; \
56 $(GSED
) -i
-e
's:env python3:python$(PYTHON_VERSION):' $(PROTOUSRSHAREDIR
)/mm-common
/doctool
/*.py
; )
59 REQUIRED_PACKAGES
+= text
/gawk
60 REQUIRED_PACKAGES
+= web
/curl
61 REQUIRED_PACKAGES
+= web
/wget
63 # Auto-generated dependencies
64 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
65 REQUIRED_PACKAGES
+= shell/ksh93