# # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL)". You may # only use this file in accordance with the terms of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # Copyright 2017 Gary Mills # Copyright 2016 Till Wegmueller # Copyright 2016 Ken Mays # Copyright 2020 Michal Nowak # include ../../../../make-rules/shared-macros.mk COMPONENT_NAME= mate-common COMPONENT_MJR_VERSION= 1.28 COMPONENT_MNR_VERSION= 0 COMPONENT_VERSION= $(COMPONENT_MJR_VERSION).$(COMPONENT_MNR_VERSION) COMPONENT_SUMMARY= Common automake macros for MATE COMPONENT_PROJECT_URL= https://www.mate-desktop.org COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz COMPONENT_ARCHIVE_HASH= sha256:42b7c2cee268f71d7e1c1ad4f69bcda0ecd65578a96722187c6b76378d26ba0a COMPONENT_ARCHIVE_URL= https://pub.mate-desktop.org/releases/$(COMPONENT_MJR_VERSION)/$(COMPONENT_ARCHIVE) COMPONENT_FMRI= library/desktop/mate/$(COMPONENT_NAME) COMPONENT_CLASSIFICATION= System/Libraries COMPONENT_LICENSE= GPLv2, LGPLv2, FDLv1.1 COMPONENT_LICENSE_FILE= $(COMPONENT_NAME).license TEST_TARGET= $(NO_TESTS) include $(WS_MAKE_RULES)/common.mk PATH= $(PATH.gnu) COMPONENT_PREP_ACTION= ( cd $(@D) && NOCONFIGURE=1 ./autogen.sh ) CONFIGURE_ENV += PYTHON="$(PYTHON)" COMPONENT_BUILD_ENV += CC="$(CC)" COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)" # Build dependencies REQUIRED_PACKAGES += developer/build/autoconf REQUIRED_PACKAGES += developer/build/pkg-config REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc REQUIRED_PACKAGES += developer/macro/gnu-m4 # Auto-generated dependencies REQUIRED_PACKAGES += shell/bash REQUIRED_PACKAGES += shell/ksh93