# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           github 1.0
PortGroup           ocaml 1.1

name                ocaml-ocaml_intrinsics
github.setup        janestreet ocaml_intrinsics 0.16.0 v
revision            0
categories          ocaml devel
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             MIT
description         Library of intrinsics for OCaml
long_description    The ocaml_intrinsics library provides an OCaml interface to operations \
                    that have dedicated hardware instructions on some micro-architectures.

checksums           rmd160  05852d582d78f41de8bc0fddb2fa6265e05460eb \
                    sha256  476548e28225f6d8cce3677c8e0f0382b89d21e05ca814ee2396d4e9ea7c2e98 \
                    size    35876
github.tarball_from archive

# FIXME: add an implementation for these.
patch.pre_args-replace  -p0 -p1
patchfiles          0001-crc_stubs.c-abort-instead-of-error-on-unsupported-pl.patch

depends_build-append \
                    port:ocaml-dune-configurator

ocaml.build_type    dune
