clang-19: update to 19.1.6
[oi-userland.git] / components / ocaml / pyml / Makefile
blobac1173de2c2e81712e38b5d58f4237e2d570882d
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 BUILD_STYLE=justmake
17 include ../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= pyml
20 COMPONENT_VERSION= 20211015
21 COMPONENT_SUMMARY= pyml - OCaml bindings for Python
22 COMPONENT_PROJECT_URL= https://github.com/thierry-martinez/pyml/
23 COMPONENT_FMRI= library/ocaml/pyml
24 COMPONENT_CLASSIFICATION= Development/Other Languages
25 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
26 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
27 COMPONENT_ARCHIVE_URL= https://github.com/thierry-martinez/pyml/archive/$(COMPONENT_VERSION).tar.gz
28 COMPONENT_ARCHIVE_HASH= sha256:4ef930b3ff8c7c4115b87eabd194795fa1da3aedbebbdcddf82af84eadbb94ab
29 COMPONENT_LICENSE= BSD 2-Clause
31 TEST_TARGET=$(NO_TESTS)
32 include $(WS_MAKE_RULES)/common.mk
33 include $(WS_MAKE_RULES)/ocaml.mk
35 PATH=$(PATH.gnu)
37 PYTHON_VERSION= 3.9
39 COMPONENT_BUILD_ARGS=-j1
41 COMPONENT_PRE_CONFIGURE_ACTION += $(CLONEY) $(SOURCE_DIR) $(@D) ;
43 COMPONENT_PRE_INSTALL_ACTION += ( $(RM) -r $(PROTO_DIR)$(OCAML_LIBDIR) && \
44 $(MKDIR) $(PROTO_DIR)$(OCAML_LIBDIR)/stublibs; )
46 # Build dependencies
47 REQUIRED_PACKAGES+= library/ocaml/ocamlbuild
48 REQUIRED_PACKAGES+= library/ocaml/ocaml-findlib
49 REQUIRED_PACKAGES+= library/ocaml/stdcompat
50 REQUIRED_PACKAGES+= runtime/ocaml
52 # Auto-generated dependencies