rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / ocaml / parmap / Makefile
blobebcea3734fc4da4b840bea1ecb9e23c7272dae86
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 2020 Aurelien Larcher
15 BUILD_BITS=64
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= parmap
19 COMPONENT_VERSION= 1.0-rc11
20 COMPONENT_REVISION= 1
21 IPS_COMPONENT_VERSION=1.0.11
22 COMPONENT_SUMMARY= parmap - OCaml minimalistic library allowing to exploit multicore architecture
23 COMPONENT_PROJECT_URL= https://github.com/rdicosmo/parmap
24 COMPONENT_FMRI= library/ocaml/parmap
25 COMPONENT_CLASSIFICATION= Development/Other Languages
26 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
27 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
28 COMPONENT_ARCHIVE_URL= \
29 https://github.com/rdicosmo/parmap/archive/$(COMPONENT_VERSION).tar.gz
30 COMPONENT_ARCHIVE_HASH= sha256:3420224919ce1a2910db5c40272b2a18a32e69491b55d49254cfb4a715081e5e
31 COMPONENT_LICENSE= GPLv2
33 COMPONENT_BUILD_ARGS= -j1
35 TEST_TARGET=$(NO_TESTS)
36 include $(WS_MAKE_RULES)/common.mk
37 include $(WS_MAKE_RULES)/ocaml.mk
39 PATH=$(PATH.gnu)
41 COMPONENT_PRE_CONFIGURE_ACTION += $(CLONEY) $(SOURCE_DIR) $(@D) ;
43 COMPONENT_PRE_INSTALL_ACTION += ( $(RM) -r $(PROTO_DIR)$(OCAMLFIND_DESTDIR) && \
44 $(MKDIR) $(PROTO_DIR)$(OCAMLFIND_DESTDIR)/stublibs; )
46 # Build dependencies
47 REQUIRED_PACKAGES+= library/ocaml/ocamlbuild
48 REQUIRED_PACKAGES+= library/ocaml/ocaml-findlib
50 # Auto-generated dependencies
51 REQUIRED_PACKAGES+= runtime/ocaml