commit | author | age
|
3d2c4f
|
1 |
# |
AS |
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. |
|
5 |
# |
|
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. |
|
9 |
# |
|
10 |
|
|
11 |
# |
|
12 |
# Copyright 2013 Adam Stevko. All rights reserved. |
49d4e0
|
13 |
# Copyright 2019 Andreas Grueninger, Grueninger GmbH, (grueni). All rights reserved. |
3d2c4f
|
14 |
# |
AS |
15 |
|
|
16 |
include ../../../make-rules/shared-macros.mk |
|
17 |
|
b5fc30
|
18 |
COMPONENT_NAME= crmsh |
AL |
19 |
COMPONENT_VERSION= 4.1.0 |
1081de
|
20 |
COMPONENT_REVISION= 2 |
b5fc30
|
21 |
COMPONENT_FMRI= application/cluster/$(COMPONENT_NAME) |
AL |
22 |
COMPONENT_CLASSIFICATION=System/Shells |
|
23 |
COMPONENT_PROJECT_URL= https://github.com/ClusterLabs/crmsh |
|
24 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
25 |
COMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.gz |
49d4e0
|
26 |
COMPONENT_ARCHIVE_HASH= sha256:cccd51eb05a121e2b8d66e425057be0b022fa59d187978568411ff4164bf2d03 |
3d2c4f
|
27 |
COMPONENT_ARCHIVE_URL= https://github.com/ClusterLabs/$(COMPONENT_NAME)/archive/$(COMPONENT_VERSION).tar.gz |
b5fc30
|
28 |
COMPONENT_LICENSE= GPLv2 |
AL |
29 |
COMPONENT_SUMMARY= crmsh is a command-line interface for High-Availability cluster management and part of the Clusterlabs project. |
3d2c4f
|
30 |
|
b5fc30
|
31 |
include $(WS_MAKE_RULES)/common.mk |
3d2c4f
|
32 |
|
AS |
33 |
ENV += am_cv_python_pythondir=$(PYTHON_VENDOR_PACKAGES) |
|
34 |
ENV += am_cv_python_pyexecdir=$(PYTHON_VENDOR_PACKAGES) |
|
35 |
ENV += PYTHON_SITELIB=$(PYTHON_VENDOR_PACKAGES) |
|
36 |
ENV += PYTHON=$(PYTHON) |
|
37 |
|
1081de
|
38 |
COMPONENT_PREP_ACTION=(cd $(SOURCE_DIR); PATH=$(PATH) $(CONFIG_SHELL) autogen.sh ) |
3d2c4f
|
39 |
|
AS |
40 |
COMPONENT_PRE_CONFIGURE_ACTION=($(CLONEY) $(SOURCE_DIR) $(@D)) |
|
41 |
|
|
42 |
CONFIGURE_SCRIPT= $(@D)/configure |
|
43 |
|
|
44 |
CONFIGURE_OPTIONS += --sysconfdir=/etc |
|
45 |
CONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_PREFIX)/lib |
|
46 |
CONFIGURE_OPTIONS += --sharedstatedir=/var/hacluster |
|
47 |
CONFIGURE_OPTIONS += --localstatedir=/var |
|
48 |
|
1081de
|
49 |
# Auto-generated dependencies |
MT |
50 |
PYTHON_REQUIRED_PACKAGES += library/python/lxml |
|
51 |
PYTHON_REQUIRED_PACKAGES += runtime/python |