commit | author | age
|
7759e8
|
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 |
BUILD_STYLE=justmake |
|
17 |
include ../../../make-rules/shared-macros.mk |
|
18 |
|
|
19 |
COMPONENT_NAME= pyml |
e62122
|
20 |
COMPONENT_VERSION= 20211015 |
7759e8
|
21 |
COMPONENT_SUMMARY= pyml - OCaml bindings for Python |
AL |
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 |
e62122
|
27 |
COMPONENT_ARCHIVE_URL= https://github.com/thierry-martinez/pyml/archive/$(COMPONENT_VERSION).tar.gz |
AW |
28 |
COMPONENT_ARCHIVE_HASH= sha256:4ef930b3ff8c7c4115b87eabd194795fa1da3aedbebbdcddf82af84eadbb94ab |
|
29 |
COMPONENT_LICENSE= BSD 2-Clause |
7759e8
|
30 |
|
AL |
31 |
TEST_TARGET=$(NO_TESTS) |
|
32 |
include $(WS_MAKE_RULES)/common.mk |
|
33 |
include $(WS_MAKE_RULES)/ocaml.mk |
|
34 |
|
|
35 |
PATH=$(PATH.gnu) |
|
36 |
|
e62122
|
37 |
PYTHON_VERSION= 3.9 |
7759e8
|
38 |
|
AL |
39 |
COMPONENT_BUILD_ARGS=-j1 |
|
40 |
|
|
41 |
COMPONENT_PRE_CONFIGURE_ACTION += $(CLONEY) $(SOURCE_DIR) $(@D) ; |
|
42 |
|
|
43 |
COMPONENT_PRE_INSTALL_ACTION += ( $(RM) -r $(PROTO_DIR)$(OCAML_LIBDIR) && \ |
|
44 |
$(MKDIR) $(PROTO_DIR)$(OCAML_LIBDIR)/stublibs; ) |
|
45 |
|
|
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 |
|
51 |
|
|
52 |
# Auto-generated dependencies |