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
16 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= stdcompat
20 COMPONENT_SUMMARY
= stdcompat
- Compatibility module for OCaml standard library
21 COMPONENT_PROJECT_URL
= https
://github.com
/thierry-martinez
/stdcompat
/
22 COMPONENT_FMRI
= library
/ocaml
/stdcompat
23 COMPONENT_CLASSIFICATION
= Development
/Other Languages
24 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
25 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
26 COMPONENT_ARCHIVE_URL
= https
://github.com
/thierry-martinez
/stdcompat
/releases
/download
/v
$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
27 COMPONENT_ARCHIVE_HASH
= sha256
:1b31e119b61b35543a8473ef96c17d0609ac2613966b860680c94ed2ab13037c
28 COMPONENT_LICENSE
= BSD
2-Clause
30 TEST_TARGET
=$(NO_TESTS
)
31 include $(WS_MAKE_RULES
)/common.mk
32 include $(WS_MAKE_RULES
)/ocaml.mk
36 COMPONENT_BUILD_ARGS
=-j1
38 COMPONENT_PRE_CONFIGURE_ACTION
+= $(CLONEY
) $(SOURCE_DIR
) $(@D
) ;
40 CONFIGURE_LIBDIR
.64=$(OCAML_LIBDIR
)
43 REQUIRED_PACKAGES
+= library
/ocaml
/ocamlbuild
44 REQUIRED_PACKAGES
+= library
/ocaml
/ocaml-findlib
45 REQUIRED_PACKAGES
+= runtime
/ocaml
47 # Auto-generated dependencies