Marcel Telka
2024-04-03 72d66ff28ec33bc2c05b355c6218d98d13b79450
commit | author | age
5e0442 1 #
AL 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.
5 #
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.
9 #
10
11 #
12 # Copyright 2020 Aurelien Larcher
13 #
14
15 BUILD_BITS=64
16 include ../../../make-rules/shared-macros.mk
17
18 COMPONENT_NAME= parmap
19 COMPONENT_VERSION= 1.0-rc11
8aa7a5 20 COMPONENT_REVISION= 1
5e0442 21 IPS_COMPONENT_VERSION=1.0.11
AL 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
32
8aa7a5 33 COMPONENT_BUILD_ARGS= -j1
AW 34
5e0442 35 TEST_TARGET=$(NO_TESTS)
AL 36 include $(WS_MAKE_RULES)/common.mk
37 include $(WS_MAKE_RULES)/ocaml.mk
38
39 PATH=$(PATH.gnu)
40
41 COMPONENT_PRE_CONFIGURE_ACTION  +=  $(CLONEY) $(SOURCE_DIR) $(@D) ;
42
43 COMPONENT_PRE_INSTALL_ACTION += ( $(RM) -r $(PROTO_DIR)$(OCAMLFIND_DESTDIR) && \
44                                 $(MKDIR) $(PROTO_DIR)$(OCAMLFIND_DESTDIR)/stublibs; )
45
46 # Build dependencies
47 REQUIRED_PACKAGES+= library/ocaml/ocamlbuild
48 REQUIRED_PACKAGES+= library/ocaml/ocaml-findlib
49
50 # Auto-generated dependencies
51 REQUIRED_PACKAGES+= runtime/ocaml