pulseaudio: fix dependencies for openssl-3
[oi-userland.git] / components / ocaml / zarith / Makefile
blobabe88d84fa31247a0df1da91669feac2c2018d86
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 2023 Friedrich Kink
15 BUILD_BITS= 64
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= Zarith
19 COMPONENT_VERSION= 1.12
20 COMPONENT_SUMMARY= The Zarith library - This library implements arithmetic and logical operations over arbitrary-precision integers.
21 COMPONENT_PROJECT_URL= https://github.com/ocaml/Zarith
22 COMPONENT_FMRI= library/ocaml/Zarith
23 COMPONENT_CLASSIFICATION= Development/Other Languages
24 COMPONENT_SRC= $(COMPONENT_NAME)-release-$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.gz
26 COMPONENT_ARCHIVE_URL= https://github.com/ocaml/Zarith/archive/refs/tags/release-$(COMPONENT_VERSION).tar.gz
27 COMPONENT_ARCHIVE_HASH= sha256:cc32563c3845c86d0f609c86d83bf8607ef12354863d31d3bffc0dacf1ed2881
28 COMPONENT_LICENSE= GPLv2
29 COMPONENT_LICENSE_FILE= LICENSE
31 include $(WS_MAKE_RULES)/common.mk
32 include $(WS_MAKE_RULES)/ocaml.mk
34 PATH=$(PATH.gnu)
36 COMPONENT_PRE_CONFIGURE_ACTION += $(CLONEY) $(SOURCE_DIR) $(@D) ;
38 CONFIGURE_OPTIONS= -installdir $(PROTO_DIR)/usr/lib/$(MACH64)/ocaml
39 CONFIGURE_OPTIONS+= -ocamllibdir /usr/lib/$(MACH64)/ocaml
41 COMPONENT_TEST_DIR = $(@D)/tests
42 COMPONENT_TEST_TARGETS = test
43 COMPONENT_TEST_TRANSFORMS = \
44 '-n ' \
45 '-e "/ passed$$/p" '
48 # Auto-generated dependencies
49 REQUIRED_PACKAGES += library/gmp
50 REQUIRED_PACKAGES += runtime/ocaml
51 REQUIRED_PACKAGES += system/library