mrrl

Minimal Reliable Reproducible Linux
git clone https://ccx.te2000.cz/git/mrrl
Log | Files | Refs | Submodules | README

ocaml (700B)


      1 {%- set pkg_version="5.4.0" -%}
      2 {% do skip("static compiler unused as some libraries require dynload") %}
      3 {%- set pkg_source="tar.xz" -%}
      4 {% extends "autotools_static" %}
      5 {% do setitem(env_template, "OCAMLPATH", "@ENVROOT@/library.ocaml") %}
      6 {%- block configure_args %}--enable-native-compiler --disable-native-toplevel --enable-installing-bytecode-programs --libdir="$prefix/library.ocaml"{% endblock %}
      7 {% block check -%}
      8 check_static command/ocamlopt
      9 
     10 {% endblock check %}
     11 {% block genlinks_begin %}
     12 	x["./command/ocamlopt"]=1
     13 {% endblock genlinks_begin %}
     14 {% block genlinks_rules %}
     15 $2 == "library.ocaml" { link($0); next }
     16 $2 == ".env-template" { link($0); next }
     17 {% endblock genlinks_rules -%}