python/hypothesis: update to 6.121.0
[oi-userland.git] / components / library / tinyxml / Makefile
blobbf5ab082ec5b48fb2c1ce0352553575140bb918e
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 2016 phorcys@126.com. All rights reserved.
16 BUILD_STYLE= configure
17 BUILD_BITS= 64
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= tinyxml
21 COMPONENT_VERSION= 2.6.2
22 COMPONENT_REVISION= 3
23 COMPONENT_FMRI= library/tinyxml
24 COMPONENT_CLASSIFICATION=System/Libraries
25 COMPONENT_PROJECT_URL= https://sourceforge.net/projects/tinyxml/
26 COMPONENT_SUMMARY= TinyXML is a simple, small, minimal, C++ XML parser that can be easily integrating into other programs.
27 COMPONENT_SRC= $(COMPONENT_NAME)
28 COMPONENT_SRC_VERSION= $(shell echo $(COMPONENT_VERSION) | $(GSED) -e 's/\./_/g')
29 COMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.gz
30 COMPONENT_ARCHIVE_HASH= sha256:15bdfdcec58a7da30adc87ac2b078e4417dbe5392f3afb719f9ba6d062645593
31 COMPONENT_ARCHIVE_URL= https://downloads.sourceforge.net/project/tinyxml/tinyxml/$(COMPONENT_VERSION)/$(COMPONENT_NAME)_$(COMPONENT_SRC_VERSION).tar.gz
32 COMPONENT_LICENSE= zlib/libpng License
33 COMPONENT_LICENSE_FILE= COPYING
35 TEST_TARGET= $(NO_TESTS)
36 include $(WS_MAKE_RULES)/common.mk
38 COMPONENT_PREP_ACTION= \
39 ( cd $(@D) && \
40 $(TOUCH) INSTALL NEWS README AUTHORS ChangeLog && \
41 libtoolize && aclocal && autoconf && automake --add-missing )
43 CONFIGURE_OPTIONS += --disable-static
45 COMPONENT_POST_INSTALL_ACTION= \
46 ( $(GSED) -e "s:%LIBDIR%:$(CONFIGURE_LIBDIR.$(BITS)):g" \
47 -e "s:%VERSION%:$(COMPONENT_VERSION):g" \
48 $(SOURCE_DIR)/tinyxml.pc > $(BUILD_DIR)/tinyxml.pc.$(BITS) )
50 # Auto-generated dependencies
51 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
52 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
53 REQUIRED_PACKAGES += system/library