#!/bin/bash # Build script for OCaml seq compatibility package # seq is part of OCaml stdlib since 4.07 # This just installs the META file for ocamlfind set -e export PATH="$PREFIX/bin:$PATH" # Create the META file for seq mkdir -p "$PKGDIR$PREFIX/lib/ocaml/seq" cat > "$PKGDIR$PREFIX/lib/ocaml/seq/META" << 'EOF' description = "OCaml Seq iterator type (part of stdlib)" version = "base" requires = "" EOF [package] name = "ocaml-seq" version = "base" description = "OCaml standard iterator type compatibility package" homepage = "https://github.com/ocaml/ocaml" license = "LGPL-2.1" [dependencies] build = ["ocaml"] runtime = ["ocaml"] # seq is part of OCaml stdlib since 4.07, no source needed # This package just installs META file for ocamlfind