json-glib: update to 1.10.6
[oi-userland.git] / components / library / talloc / Makefile
blob15292e86661c754b378b8b84883f5ef81436529f
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright (c) 2024, Friedrich Kink
16 BUILD_STYLE= waf
17 include ../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= talloc
20 COMPONENT_VERSION= 2.4.2
21 COMPONENT_SUMMARY= talloc is a hierarchical, reference counted memory \
22 pool system with destructors.
23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
25 COMPONENT_ARCHIVE_HASH= sha256:85ecf9e465e20f98f9950a52e9a411e14320bc555fa257d87697b7e7a9b1d8a6
26 COMPONENT_ARCHIVE_URL= https://download.samba.org/pub/talloc/$(COMPONENT_ARCHIVE)
27 COMPONENT_PROJECT_URL = https://$(COMPONENT_NAME).samba.org/$(COMPONENT_NAME)/doc/html/index.html
28 COMPONENT_FMRI = library/talloc
29 COMPONENT_CLASSIFICATION = System/Libraries
30 COMPONENT_LICENSE = LGPL
32 include $(WS_MAKE_RULES)/common.mk
34 COMPONENT_PRE_CONFIGURE_ACTION += ( \
35 $(CLONEY) $(SOURCE_DIR) $(@D); \
36 cd $(@D); \
39 WAF = PYTHONHASHSEED=1 $(PYTHON) ./buildtools/bin/waf
41 CONFIGURE_OPTIONS += --disable-python
43 COMPONENT_TEST_TRANSFORMS += \
44 '-n ' \
45 '-e "/^\#/p" ' \
46 '-e "/^test /p" '\
47 '-e "/^success/p" ' \
48 '-e "/^failed/p" '
50 # Auto-generated dependencies
51 REQUIRED_PACKAGES += system/library