python/gst-python: update to 1.24.11
[oi-userland.git] / components / cluster / libqb / Makefile
blobd89f22790aae271f16d4e34ba3375b2069e008a2
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)
16 BUILD_STYLE=configure
17 BUILD_BITS=64
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= libqb
21 COMPONENT_VERSION= 1.0.5
22 COMPONENT_REVISION= 1
23 COMPONENT_FMRI= library/$(COMPONENT_NAME)
24 COMPONENT_CLASSIFICATION=Applications/System Utilities
25 COMPONENT_PROJECT_URL= https://github.com/ClusterLabs/libqb
26 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
27 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
28 COMPONENT_ARCHIVE_HASH= sha256:89fe0c743e5be15f2fa25849f107df41cb144928259752d5c797c13644eba6b1
29 COMPONENT_ARCHIVE_URL= \
30 https://github.com/ClusterLabs/libqb/releases/download/v$(COMPONENT_VERSION)/$(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.gz
31 COMPONENT_LICENSE= LGPLv2
32 COMPONENT_SUMMARY= libqb is a library providing high performance logging, tracing, ipc, and poll.
34 include $(WS_MAKE_RULES)/common.mk
36 unexport SHELLOPTS
38 CFLAGS += -DNAME_MAX=255 -DHOST_NAME_MAX=255 \
39 -I/usr/include -I/usr/include/heartbeat \
40 -lsocket -lnsl -ldladm -lssp_nonshared -lssp \
41 -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS
43 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
44 CONFIGURE_OPTIONS += --localstatedir=/var
45 CONFIGURE_OPTIONS += --with-socket-dir=/var/run/hacluster
46 CONFIGURE_OPTIONS += --enable-slow-tests
47 CONFIGURE_OPTIONS += --disable-rpath
49 CONFIGURE_ENV.64 += LT_SYS_LIBRARY_PATH="/lib/$(MACH64):/usr/lib/$(MACH64)"
51 COMPONENT_PREP_ACTION=(cd $(@D); $(ENV) $(CONFIGURE_ENV) $(CONFIG_SHELL) autogen.sh)
53 COMPONENT_PRE_CONFIGURE_ACTION=($(CLONEY) $(SOURCE_DIR) $(@D))
55 COMPONENT_TEST_TARGETS = check
58 # Please note for the target test
59 # /var/run/hacluster must exist and must be writable for the build user
62 # Build dependencies
63 REQUIRED_PACKAGES += developer/documentation-tool/doxygen
64 # Auto-generated dependencies
65 REQUIRED_PACKAGES += system/library