json-c: add 32 bit library, needed in order to be able to build fontconfig in 32...
[oi-userland.git] / components / library / libmpdec2 / Makefile
blobb6d67c39577f569d6ea811bf176b5d3fe6b7ffac
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 2018 Jason Martin
16 BUILD_BITS= 64
17 USE_DEFAULT_TEST_TRANSFORMS= yes
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= mpdecimal
21 COMPONENT_VERSION= 4.0.0
22 COMPONENT_SUMMARY= Complete implementation of the General Decimal Arithmetic Specification
23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
25 COMPONENT_ARCHIVE_HASH= sha256:942445c3245b22730fd41a67a7c5c231d11cb1b9936b9c0f76334fb7d0b4468c
26 COMPONENT_ARCHIVE_URL= https://www.bytereef.org/software/mpdecimal/releases/$(COMPONENT_ARCHIVE)
27 COMPONENT_PROJECT_URL= https://www.bytereef.org/mpdecimal/
28 COMPONENT_FMRI= library/math/libmpdec2
29 COMPONENT_CLASSIFICATION= Development/C
30 COMPONENT_LICENSE= BSD
31 COMPONENT_LICENSE_FILE= COPYRIGHT.txt
33 include $(WS_MAKE_RULES)/common.mk
35 PATH= $(PATH.gnu)
37 COMPONENT_PRE_CONFIGURE_ACTION= ( $(CLONEY) $(SOURCE_DIR) $(@D) )
39 CONFIGURE_OPTIONS += --enable-static=false
40 CONFIGURE_OPTIONS += --enable-doc=false
42 COMPONENT_TEST_TRANSFORMS += '-e "/PASS/p" '
44 # Auto-generated dependencies
45 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
46 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
47 REQUIRED_PACKAGES += system/library
48 REQUIRED_PACKAGES += system/library/math