| | |
| | | # Copyright 2019 Andreas Grueninger, Grueninger GmbH, (grueni). All rights reserved. |
| | | # |
| | | |
| | | BUILD_STYLE=configure |
| | | BUILD_BITS=64 |
| | | BUILD_STYLE= configure |
| | | BUILD_BITS= 64 |
| | | USE_PARALLEL_BUILD= yes |
| | | include ../../../make-rules/shared-macros.mk |
| | | |
| | | PATH= $(PATH.gnu) |
| | | |
| | | COMPONENT_NAME= corosync |
| | | COMPONENT_VERSION= 2.4.5 |
| | | COMPONENT_REVISION= 2 |
| | | COMPONENT_FMRI= application/cluster/$(COMPONENT_NAME) |
| | | COMPONENT_CLASSIFICATION=System/Services |
| | | COMPONENT_REVISION= 3 |
| | | COMPONENT_SUMMARY= The Corosync cluster engine. |
| | | COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
| | | COMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.gz |
| | | COMPONENT_ARCHIVE_HASH= sha256:1637b9fcc90ecb719f0c24bdb5bf98bbe7b7f8dbaf19fbe1e5ca5640512565e1 |
| | | COMPONENT_PROJECT_URL= https://github.com/corosync/corosync |
| | | COMPONENT_ARCHIVE_URL= https://github.com/$(COMPONENT_NAME)/$(COMPONENT_NAME)/archive/v$(COMPONENT_VERSION).tar.gz |
| | | COMPONENT_FMRI= application/cluster/$(COMPONENT_NAME) |
| | | COMPONENT_CLASSIFICATION=System/Services |
| | | COMPONENT_LICENSE= BSD |
| | | COMPONENT_SUMMARY= The Corosync cluster engine. |
| | | COMPONENT_LICENSE_FILE= LICENSE |
| | | |
| | | include $(WS_MAKE_RULES)/common.mk |
| | | |
| | | COMPONENT_PREP_ACTION=(cd $(SOURCE_DIR); $(CONFIG_SHELL) autogen.sh ) |
| | | COMPONENT_PREP_ACTION= ( cd $(SOURCE_DIR); $(CONFIG_SHELL) autogen.sh ) |
| | | |
| | | COMPONENT_PRE_CONFIGURE_ACTION=($(CLONEY) $(SOURCE_DIR) $(@D)) |
| | | COMPONENT_PRE_CONFIGURE_ACTION= ( $(CLONEY) $(SOURCE_DIR) $(@D) ) |
| | | |
| | | CONFIGURE_SCRIPT= $(@D)/configure |
| | | |
| | | SNMPCONFIG= /usr/bin/net-snmp-config-64 |
| | | CFLAGS += -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS |
| | | CFLAGS += $(XPG6MODE) -D_POSIX_PTHREAD_SEMANTICS |
| | | LDFLAGS += -R/usr/lib/mps/$(MACH64) |
| | | |
| | | CONFIGURE_OPTIONS += --sysconfdir=/etc |
| | | CONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_PREFIX)/lib |
| | | CONFIGURE_OPTIONS += --sharedstatedir=/var/hacluster |
| | | CONFIGURE_OPTIONS += --localstatedir=/var |
| | | CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR) |
| | | CONFIGURE_OPTIONS += --sharedstatedir=$(VARDIR)/hacluster |
| | | CONFIGURE_OPTIONS += --localstatedir=$(VARDIR) |
| | | CONFIGURE_OPTIONS += --enable-monitoring |
| | | CONFIGURE_OPTIONS += --enable-snmp |
| | | CONFIGURE_OPTIONS += --enable-xmlconf |
| | |
| | | CONFIGURE_OPTIONS += --enable-augeas |
| | | CONFIGURE_OPTIONS += --enable-qdevices |
| | | CONFIGURE_OPTIONS += --disable-rpath |
| | | CONFIGURE_OPTIONS += --with-logdir=/var/log/hacluster |
| | | CONFIGURE_OPTIONS += --with-logdir=$(VARDIR)/log/hacluster |
| | | |
| | | CONFIGURE_ENV.64 += LT_SYS_LIBRARY_PATH="/lib/$(MACH64):/usr/lib/$(MACH64)" |
| | | |
| | |
| | | $(RM) $(PROTO_DIR)/etc/corosync/corosync.conf.example; \ |
| | | $(RM) $(PROTO_DIR)/etc/corosync/corosync.conf.example.udpu; \ |
| | | $(RM) $(PROTO_DIR)/etc/corosync/corosync.xml.example ) |
| | | |
| | | # if compilation fails make output verbose |
| | | #COMPONENT_BUILD_GMAKE_ARGS= V=1 |
| | | |
| | | # Auto-generated dependencies |
| | | REQUIRED_PACKAGES += library/libqb |