rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / cluster / crmsh / Makefile
blobf2f6cabf01419723e8e43e1ff7e4334ef68d32dd
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 2013 Adam Stevko. All rights reserved.
13 # Copyright 2019 Andreas Grueninger, Grueninger GmbH, (grueni). All rights reserved.
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= crmsh
19 COMPONENT_VERSION= 4.6.0
20 COMPONENT_REVISION= 1
21 COMPONENT_SUMMARY= crmsh is a command-line interface for High-Availability cluster management and part of the Clusterlabs project.
22 COMPONENT_PROJECT_URL= https://github.com/ClusterLabs/crmsh
23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.gz
25 COMPONENT_ARCHIVE_HASH= sha256:006ef95137b3cf0882758b2cb6f2df633622f7736fbd33638b7d476390010a4a
26 COMPONENT_ARCHIVE_URL= https://github.com/ClusterLabs/$(COMPONENT_NAME)/archive/$(COMPONENT_VERSION).tar.gz
27 COMPONENT_FMRI= application/cluster/$(COMPONENT_NAME)
28 COMPONENT_CLASSIFICATION=System/Shells
29 COMPONENT_LICENSE= GPLv2
30 COMPONENT_LICENSE_FILE= COPYING
32 include $(WS_MAKE_RULES)/common.mk
34 ENV += am_cv_python_pythondir=$(PYTHON_VENDOR_PACKAGES)
35 ENV += am_cv_python_pyexecdir=$(PYTHON_VENDOR_PACKAGES)
36 ENV += PYTHON_SITELIB=$(PYTHON_VENDOR_PACKAGES)
37 ENV += PYTHON=$(PYTHON)
39 COMPONENT_PREP_ACTION=(cd $(SOURCE_DIR); PATH=$(PATH) $(CONFIG_SHELL) autogen.sh )
41 COMPONENT_PRE_CONFIGURE_ACTION=($(CLONEY) $(SOURCE_DIR) $(@D))
43 CONFIGURE_SCRIPT= $(@D)/configure
45 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
46 CONFIGURE_OPTIONS += --sharedstatedir=$(VARDIR)/hacluster
47 CONFIGURE_OPTIONS += --localstatedir=$(VARDIR)
49 # Auto-generated dependencies
50 PYTHON_REQUIRED_PACKAGES += library/python/lxml
51 PYTHON_REQUIRED_PACKAGES += runtime/python