jenkins-core-weekly: update to 2.491
[oi-userland.git] / components / library / pugixml / Makefile
blob4cd7e4b9ccc60a78424721fefc4507ecc61931e1
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 2018 Aurelien Larcher
15 BUILD_BITS= 64
16 BUILD_STYLE= cmake
17 include ../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= pugixml
20 COMPONENT_VERSION= 1.14
21 COMPONENT_REVISION= 1
22 COMPONENT_SUMMARY= pugixml - light-weight C++ XML processing library
23 COMPONENT_PROJECT_URL= https://pugixml.org/
24 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
26 COMPONENT_ARCHIVE_URL= https://github.com/zeux/pugixml/releases/download/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
27 COMPONENT_ARCHIVE_HASH= sha256:2f10e276870c64b1db6809050a75e11a897a8d7456c4be5c6b2e35a11168a015
28 COMPONENT_FMRI= library/pugixml
29 COMPONENT_CLASSIFICATION=System/Libraries
30 COMPONENT_LICENSE= MIT
31 COMPONENT_LICENSE_FILE= LICENSE.md
33 TEST_TARGET= $(NO_TESTS)
34 include $(WS_MAKE_RULES)/common.mk
36 CMAKE_OPTIONS += -DCMAKE_BUILD_TYPE=Release
37 CMAKE_OPTIONS += -DBUILD_SHARED_LIBS=ON
38 CMAKE_OPTIONS += -DBUILD_TESTS=OFF
39 CMAKE_OPTIONS += -DBUILD_PKGCONFIG=ON
41 # Auto-generated dependencies
42 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
43 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
44 REQUIRED_PACKAGES += system/library
45 REQUIRED_PACKAGES += system/library/math