xbacklight: update to 1.2.4
[oi-userland.git] / components / library / tinyxml2 / Makefile
blobf511940bc84597ed1b02480eedcf31fc5df70821
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 2024 Marcel Telka
16 BUILD_STYLE = cmake
17 USE_DEFAULT_TEST_TRANSFORMS = yes
19 include ../../../make-rules/shared-macros.mk
21 COMPONENT_NAME = tinyxml2
22 COMPONENT_VERSION = 10.0.0
23 COMPONENT_SUMMARY = Simple, small, efficient, C++ XML parser that can be easily integrated into other programs
24 COMPONENT_PROJECT_URL = https://github.com/leethomason/tinyxml2
25 COMPONENT_SRC = $(COMPONENT_NAME)-$(COMPONENT_VERSION)
26 COMPONENT_ARCHIVE = $(COMPONENT_SRC).tar.gz
27 COMPONENT_ARCHIVE_URL = https://github.com/leethomason/tinyxml2/archive/refs/tags/$(COMPONENT_VERSION).tar.gz
28 COMPONENT_ARCHIVE_HASH = sha256:3bdf15128ba16686e69bce256cc468e76c7b94ff2c7f391cc5ec09e40bff3839
29 COMPONENT_FMRI = library/tinyxml2
30 COMPONENT_CLASSIFICATION = System/Libraries
31 COMPONENT_LICENSE = Zlib
32 COMPONENT_LICENSE_FILE = LICENSE.txt
34 include $(WS_MAKE_RULES)/common.mk
36 # Build shared library
37 CMAKE_OPTIONS += -DBUILD_SHARED_LIBS=ON
39 # Auto-generated dependencies
40 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
41 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
42 REQUIRED_PACKAGES += system/library