vim: update to 9.1.0984
[oi-userland.git] / components / library / libconfig / Makefile
blob1fcc34be6d6bd7c05d11600b039ef7051625af82
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 2016 John Smith. All rights reserved.
15 BUILD_BITS= 64_and_32
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= libconfig
19 COMPONENT_VERSION= 1.7.3
20 COMPONENT_REVISION= 2
21 COMPONENT_SUMMARY= C/C++ library for processing configuration files
22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_PROJECT_URL= https://hyperrealm.github.io/libconfig
24 COMPONENT_ARCHIVE= v$(COMPONENT_VERSION).tar.gz
25 COMPONENT_ARCHIVE_HASH= sha256:68757e37c567fd026330c8a8449aa5f9cac08a642f213f2687186b903bd7e94e
26 COMPONENT_ARCHIVE_URL= https://github.com/hyperrealm/libconfig/archive/$(COMPONENT_ARCHIVE)
27 COMPONENT_FMRI= library/libconfig
28 COMPONENT_CLASSIFICATION= System/Libraries
29 COMPONENT_LICENSE= LGPLv2.1
30 COMPONENT_LICENSE_FILE= COPYING.LIB
32 include $(WS_MAKE_RULES)/common.mk
34 COMPONENT_PREP_ACTION= ( \
35 cd $(@D) && \
36 rm -f lib/scanner.{c,h} && \
37 autoreconf -f -i )
39 # Missing files in build dir for configure without this.
40 COMPONENT_PRE_CONFIGURE_ACTION= ( $(CLONEY) $(SOURCE_DIR) $(@D) )
42 unexport SHELLOPTS
44 COMPONENT_TEST_ENV += libtool_execute_magic=
45 COMPONENT_TEST_ENV += LD_LIBRARY_PATH=$(LD_LIBRARY_PATH)
47 COMPONENT_TEST_TRANSFORMS += \
48 '-e "s/[0-9]* Segmentation Fault/Segmentation Fault/" ' \
49 '-e "/^make/d" ' \
50 '-e "/\/usr\/gnu\/bin\/make/d" '
52 # Auto-generated dependencies
53 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
54 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
55 REQUIRED_PACKAGES += system/library