rebuild fbreader after libunibreak update
[oi-userland.git] / components / desktop / mate / mate-common / Makefile
blob931096763f4cf6179621c8523daf607765b640ea
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2017 Gary Mills
13 # Copyright 2016 Till Wegmueller
14 # Copyright 2016 Ken Mays
15 # Copyright 2020 Michal Nowak
18 include ../../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= mate-common
21 COMPONENT_MJR_VERSION= 1.28
22 COMPONENT_MNR_VERSION= 0
23 COMPONENT_VERSION= $(COMPONENT_MJR_VERSION).$(COMPONENT_MNR_VERSION)
24 COMPONENT_SUMMARY= Common automake macros for MATE
25 COMPONENT_PROJECT_URL= https://www.mate-desktop.org
26 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
27 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
28 COMPONENT_ARCHIVE_HASH= sha256:42b7c2cee268f71d7e1c1ad4f69bcda0ecd65578a96722187c6b76378d26ba0a
29 COMPONENT_ARCHIVE_URL= https://pub.mate-desktop.org/releases/$(COMPONENT_MJR_VERSION)/$(COMPONENT_ARCHIVE)
30 COMPONENT_FMRI= library/desktop/mate/$(COMPONENT_NAME)
31 COMPONENT_CLASSIFICATION= System/Libraries
32 COMPONENT_LICENSE= GPLv2, LGPLv2, FDLv1.1
33 COMPONENT_LICENSE_FILE= $(COMPONENT_NAME).license
35 TEST_TARGET= $(NO_TESTS)
36 include $(WS_MAKE_RULES)/common.mk
38 PATH= $(PATH.gnu)
40 COMPONENT_PREP_ACTION= ( cd $(@D) && NOCONFIGURE=1 ./autogen.sh )
42 CONFIGURE_ENV += PYTHON="$(PYTHON)"
44 COMPONENT_BUILD_ENV += CC="$(CC)"
45 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)"
47 # Build dependencies
48 REQUIRED_PACKAGES += developer/build/autoconf
49 REQUIRED_PACKAGES += developer/build/pkg-config
50 REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
51 REQUIRED_PACKAGES += developer/macro/gnu-m4
53 # Auto-generated dependencies
54 REQUIRED_PACKAGES += shell/bash
55 REQUIRED_PACKAGES += shell/ksh93