|
root / lang / ocaml-seq / build.sh
build.sh Bash 18 lines 410 B
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
#!/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